/* Gets the value (1 or 0) of the specified pixel from the buffer.  */
uint8_t st7565GetPixel(uint8_t x, uint8_t y)
/* Gets the value (1 or 0) of the specified pixel from the buffer.  */
uint8_t st7565GetPixel(uint8_t x, uint8_t y)
{
  if ((x >= 128) || (y >= 64)) return 0;
  return _st7565buffer[x+ (y/8)*128] & (1 << (7-(y%8)));
}