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 |
Setup22_TTGO_T4_v1.3.h (732B)
1 // Setup for the TTGO T4 v1.3 ESP32 board with 2.2" ILI9341 display 2 #define USER_SETUP_ID 99922 3 4 // See SetupX_Template.h for all options available 5 6 #define ILI9341_DRIVER 7 8 #define TFT_BACKLIGHT_ON HIGH 9 #define TFT_BL 4 10 11 #define TFT_MISO 12 12 #define TFT_MOSI 23 13 #define TFT_SCLK 18 14 15 #define TFT_CS 27 16 #define TFT_DC 32 // pin 26 for TTGO T4 v1.3 17 #define TFT_RST 5 18 19 #define LOAD_GLCD 20 #define LOAD_FONT2 21 #define LOAD_FONT4 22 #define LOAD_FONT6 23 #define LOAD_FONT7 24 #define LOAD_FONT8 25 #define LOAD_GFXFF 26 27 #define SMOOTH_FONT 28 29 //#define SPI_FREQUENCY 27000000 30 #define SPI_FREQUENCY 40000000 // Maximum for ILI9341 31 32 #define USE_HSPI_PORT 33 34 #define SPI_READ_FREQUENCY 6000000 // 6 MHz is the maximum SPI read speed for the ST7789V