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.h (811B)

      1 // Setup for the TTGO T4 v1.1 ("Bitcoin Tracker") ESP32 board with 2.2" ILI9341 display
      2 #define USER_SETUP_ID 22
      3 
      4 // See SetupX_Template.h for all options available
      5 
      6 #define ILI9341_DRIVER
      7 
      8 //#define TFT_BACKLIGHT_ON HIGH // LED control for TTGO T4 v1.3 only
      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   26 // pin 32 for TTGO T4 v1.3
     17 #define TFT_RST   5
     18 
     19 #define TOUCH_CS -1
     20 
     21 #define LOAD_GLCD
     22 #define LOAD_FONT2
     23 #define LOAD_FONT4
     24 #define LOAD_FONT6
     25 #define LOAD_FONT7
     26 #define LOAD_FONT8
     27 #define LOAD_GFXFF
     28 
     29 #define SMOOTH_FONT
     30 
     31 //#define SPI_FREQUENCY  27000000
     32   #define SPI_FREQUENCY  40000000   // Maximum for ILI9341
     33 
     34 #define USE_HSPI_PORT
     35 
     36 #define SPI_READ_FREQUENCY  6000000 // 6 MHz is the maximum SPI read speed for the ST7789V