acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
ST7789_2_Init.h (520B)
1 2 // This is the command sequence that initialises the ST7789 driver 3 4 // Configure ST7789 display 5 6 { 7 static const uint8_t PROGMEM 8 st7789[] = { 9 8, 10 TFT_SLPOUT, TFT_INIT_DELAY, 255, 11 TFT_COLMOD, 1+TFT_INIT_DELAY, 0x55, 10, 12 TFT_MADCTL, 1, 0x00, 13 TFT_CASET, 4, 0x00, 0x00, 0x00, 0xF0, 14 TFT_PASET, 4, 0x00, 0x00, 0x00, 0xF0, 15 TFT_INVON, TFT_INIT_DELAY, 10, 16 TFT_NORON, TFT_INIT_DELAY, 10, 17 TFT_DISPON, TFT_INIT_DELAY, 255 18 }; 19 20 commandList(st7789); 21 } 22 // End of ST7789 display configuration