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 671B

3 years ago
123456789101112131415161718192021222324252627282930
  1. case PCF8833:
  2. LCD_Write_COM(0x01);
  3. LCD_Write_COM(0x25);
  4. LCD_Write_DATA(0x40);
  5. LCD_Write_COM(0x11);
  6. delay(10);
  7. LCD_Write_COM(0x20);
  8. LCD_Write_COM(0x38);
  9. LCD_Write_COM(0x29);
  10. LCD_Write_COM(0x13);
  11. LCD_Write_COM(0x36);
  12. LCD_Write_DATA(0x60);
  13. LCD_Write_COM(0x3A);
  14. LCD_Write_DATA(0x05);
  15. LCD_Write_COM(0x2A);
  16. LCD_Write_DATA(0x00);
  17. LCD_Write_DATA(0x7F);
  18. LCD_Write_COM(0xB4);
  19. LCD_Write_DATA(0x03);
  20. LCD_Write_DATA(0x08);
  21. LCD_Write_DATA(0x0b);
  22. LCD_Write_DATA(0x0e);
  23. LCD_Write_COM(0xBA);
  24. LCD_Write_DATA(0x07);
  25. LCD_Write_DATA(0x0D);
  26. LCD_Write_COM(0x2B);
  27. LCD_Write_DATA(0x00);
  28. LCD_Write_DATA(0x7F);
  29. LCD_Write_COM(0x2C);
  30. break;