polargraph_arduino/libraries/UTFT/tft_drivers/hx8347a/setxy.h

12 lines
313 B
C

case HX8347A:
LCD_Write_COM_DATA(0x02,x1>>8);
LCD_Write_COM_DATA(0x03,x1);
LCD_Write_COM_DATA(0x04,x2>>8);
LCD_Write_COM_DATA(0x05,x2);
LCD_Write_COM_DATA(0x06,y1>>8);
LCD_Write_COM_DATA(0x07,y1);
LCD_Write_COM_DATA(0x08,y2>>8);
LCD_Write_COM_DATA(0x09,y2);
LCD_Write_COM(0x22);
break;