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

14 lines
350 B
C
Raw Normal View History

2019-08-31 22:31:33 +02:00
case ILI9327:
LCD_Write_COM(0x2a);
LCD_Write_DATA(0x00,x1>>8);
LCD_Write_DATA(0x00,x1);
LCD_Write_DATA(0x00,x2>>8);
LCD_Write_DATA(0x00,x2);
LCD_Write_COM(0x2b);
LCD_Write_DATA(0x00,y1>>8);
LCD_Write_DATA(0x00,y1);
LCD_Write_DATA(0x00,y2>>8);
LCD_Write_DATA(0x00,y2);
LCD_Write_COM(0x2c);
break;