acidportal- 😈 Worlds smallest Evil Portal on a LilyGo T-QT |
git clone git://git.acid.vegas/acidportal.git |
Log | Files | Refs | Archive | README | LICENSE |
Setup70b_ESP32_S3_ILI9341.h (1075B)
1 // Setup for the ESP32 S3 with ILI9341 display 2 // Note SPI DMA with ESP32 S3 is not currently supported 3 #define USER_SETUP_ID 70 4 // See SetupX_Template.h for all options available 5 #define ILI9341_DRIVER 6 7 // Typical board default pins - change to match your board 8 #define TFT_CS 34 // 10 or 34 (FSPI CS0) 9 #define TFT_MOSI 35 // 11 or 35 (FSPI D) 10 #define TFT_SCLK 36 // 12 or 36 (FSPI CLK) 11 #define TFT_MISO 37 // 13 or 37 (FSPI Q) 12 13 // Use pins in range 0-31 14 #define TFT_DC 7 15 #define TFT_RST 6 16 17 //#define TOUCH_CS 16 // Optional for touch screen 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 // FSPI (or VSPI) port (SPI2) used unless following defined. HSPI port is (SPI3) on S3. 30 //#define USE_HSPI_PORT 31 32 //#define SPI_FREQUENCY 27000000 33 #define SPI_FREQUENCY 40000000 // Maximum for ILI9341 34 35 #define SPI_READ_FREQUENCY 6000000 // 6 MHz is the maximum SPI read speed for the ST7789V 36 37 #define SPI_TOUCH_FREQUENCY 2500000