PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setxy.h 350B

3 years ago
12345678910111213
  1. case ILI9327:
  2. LCD_Write_COM(0x2a);
  3. LCD_Write_DATA(0x00,x1>>8);
  4. LCD_Write_DATA(0x00,x1);
  5. LCD_Write_DATA(0x00,x2>>8);
  6. LCD_Write_DATA(0x00,x2);
  7. LCD_Write_COM(0x2b);
  8. LCD_Write_DATA(0x00,y1>>8);
  9. LCD_Write_DATA(0x00,y1);
  10. LCD_Write_DATA(0x00,y2>>8);
  11. LCD_Write_DATA(0x00,y2);
  12. LCD_Write_COM(0x2c);
  13. break;