/* Gets the 16-bit color of the pixel at the specified location.  */
uint16_t lcdGetPixel(uint16_t x, uint16_t y)
/* Gets the 16-bit color of the pixel at the specified location.  */
uint16_t lcdGetPixel(uint16_t x, uint16_t y)
{
  if ((x >= hx8347gProperties.width) || (y >= hx8347gProperties.height)) return 0;
  hx8347gSetCursor(x,y);
  hx8347gWriteCommand(HX8347G_CMD_SRAMWRITECONTROL);
  return hx8347gReadData();
}