/* Read a single color from the graphical memory. 
Limits have to be set prior to calling this function, e.g.:  */
ili9341_color_t ili9341_read_gram(void)
/* Read a single color from the graphical memory. 
Limits have to be set prior to calling this function, e.g.:  */
ili9341_color_t ili9341_read_gram(void)
{
	uint8_t red, green, blue;
	ili9341_send_command(ILI9341_CMD_MEMORY_READ);
	red = ili9341_read_byte();
	red = ili9341_read_byte();
	green = ili9341_read_byte();
	blue = ili9341_read_byte();
	ili9341_deselect_chip();
	return ILI9341_COLOR(red, green, blue);
}