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 |
Setup25_TTGO_T_Display.h (919B)
1 // Setup for the TTGO T Display 2 #define USER_SETUP_ID 25 3 4 // See SetupX_Template.h for all options available 5 6 #define ST7789_DRIVER 7 #define TFT_SDA_READ // Display has a bidirectional SDA pin 8 9 #define TFT_WIDTH 135 10 #define TFT_HEIGHT 240 11 12 #define CGRAM_OFFSET // Library will add offsets required 13 14 //#define TFT_MISO -1 15 16 #define TFT_MOSI 19 17 #define TFT_SCLK 18 18 #define TFT_CS 5 19 #define TFT_DC 16 20 #define TFT_RST 23 21 22 #define TFT_BL 4 // Display backlight control pin 23 24 #define TFT_BACKLIGHT_ON HIGH // HIGH or LOW are options 25 26 #define LOAD_GLCD 27 #define LOAD_FONT2 28 #define LOAD_FONT4 29 #define LOAD_FONT6 30 #define LOAD_FONT7 31 #define LOAD_FONT8 32 #define LOAD_GFXFF 33 34 #define SMOOTH_FONT 35 36 //#define SPI_FREQUENCY 27000000 37 #define SPI_FREQUENCY 40000000 38 39 40 #define SPI_READ_FREQUENCY 6000000 // 6 MHz is the maximum SPI read speed for the ST7789V