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.

initlcd.h 1.1KB

3 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. case S6D0164:
  2. LCD_Write_COM_DATA(0x11,0x001A);
  3. LCD_Write_COM_DATA(0x12,0x3121);
  4. LCD_Write_COM_DATA(0x13,0x006C);
  5. LCD_Write_COM_DATA(0x14,0x4249);
  6. LCD_Write_COM_DATA(0x10,0x0800);
  7. delay(10);
  8. LCD_Write_COM_DATA(0x11,0x011A);
  9. delay(10);
  10. LCD_Write_COM_DATA(0x11,0x031A);
  11. delay(10);
  12. LCD_Write_COM_DATA(0x11,0x071A);
  13. delay(10);
  14. LCD_Write_COM_DATA(0x11,0x0F1A);
  15. delay(10);
  16. LCD_Write_COM_DATA(0x11,0x0F3A);
  17. delay(30);
  18. LCD_Write_COM_DATA(0x01,0x011C);
  19. LCD_Write_COM_DATA(0x02,0x0100);
  20. LCD_Write_COM_DATA(0x03,0x1030);
  21. LCD_Write_COM_DATA(0x07,0x0000);
  22. LCD_Write_COM_DATA(0x08,0x0808);
  23. LCD_Write_COM_DATA(0x0B,0x1100);
  24. LCD_Write_COM_DATA(0x0C,0x0000);
  25. LCD_Write_COM_DATA(0x0F,0x1401);
  26. LCD_Write_COM_DATA(0x15,0x0000);
  27. LCD_Write_COM_DATA(0x20,0x0000);
  28. LCD_Write_COM_DATA(0x21,0x0000);
  29. LCD_Write_COM_DATA(0x36,0x00AF);
  30. LCD_Write_COM_DATA(0x37,0x0000);
  31. LCD_Write_COM_DATA(0x38,0x00DB);
  32. LCD_Write_COM_DATA(0x39,0x0000);
  33. LCD_Write_COM_DATA(0x0F,0x0B01);
  34. LCD_Write_COM_DATA(0x07,0x0016);
  35. LCD_Write_COM_DATA(0x07,0x0017);
  36. LCD_Write_COM(0x22);
  37. break;