/* Shifts the contents of the frame buffer up the specified number of pixels.  */
void st7565ShiftFrameBuffer(uint8_t height)
/* Shifts the contents of the frame buffer up the specified number of pixels.  */
void st7565ShiftFrameBuffer(uint8_t height)
{
  if (height == 0) return;
  if (height >= 64)
  {
    st7565ClearScreen();
    return;
  }
  uint8_t y, x;
  for (y = 0; y < 64; y++)
  {
    for (x = 0; x < 128; x++)
    {
      if (63 - y > height)
      {
        st7565GetPixel(x, y + height) ? st7565DrawPixel(x, y) : st7565ClearPixel(x, y);
      }
      else
      {
        st7565ClearPixel(x, y);
      }
    }
  }
}