PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

63 lines
1.2KB

  1. case ILI9481:
  2. LCD_Write_COM(0x11);
  3. delay(20);
  4. LCD_Write_COM(0xD0);
  5. LCD_Write_DATA(0x07);
  6. LCD_Write_DATA(0x42);
  7. LCD_Write_DATA(0x18);
  8. LCD_Write_COM(0xD1);
  9. LCD_Write_DATA(0x00);
  10. LCD_Write_DATA(0x07);
  11. LCD_Write_DATA(0x10);
  12. LCD_Write_COM(0xD2);
  13. LCD_Write_DATA(0x01);
  14. LCD_Write_DATA(0x02);
  15. LCD_Write_COM(0xC0);
  16. LCD_Write_DATA(0x10);
  17. LCD_Write_DATA(0x3B);
  18. LCD_Write_DATA(0x00);
  19. LCD_Write_DATA(0x02);
  20. LCD_Write_DATA(0x11);
  21. LCD_Write_COM(0xC5);
  22. LCD_Write_DATA(0x03);
  23. LCD_Write_COM(0xC8);
  24. LCD_Write_DATA(0x00);
  25. LCD_Write_DATA(0x32);
  26. LCD_Write_DATA(0x36);
  27. LCD_Write_DATA(0x45);
  28. LCD_Write_DATA(0x06);
  29. LCD_Write_DATA(0x16);
  30. LCD_Write_DATA(0x37);
  31. LCD_Write_DATA(0x75);
  32. LCD_Write_DATA(0x77);
  33. LCD_Write_DATA(0x54);
  34. LCD_Write_DATA(0x0C);
  35. LCD_Write_DATA(0x00);
  36. LCD_Write_COM(0x36);
  37. LCD_Write_DATA(0x0A);
  38. LCD_Write_COM(0x3A);
  39. LCD_Write_DATA(0x55);
  40. LCD_Write_COM(0x2A);
  41. LCD_Write_DATA(0x00);
  42. LCD_Write_DATA(0x00);
  43. LCD_Write_DATA(0x01);
  44. LCD_Write_DATA(0x3F);
  45. LCD_Write_COM(0x2B);
  46. LCD_Write_DATA(0x00);
  47. LCD_Write_DATA(0x00);
  48. LCD_Write_DATA(0x01);
  49. LCD_Write_DATA(0xE0);
  50. delay(120);
  51. LCD_Write_COM(0x29);
  52. break;