37 lines
834 B
C
37 lines
834 B
C
|
|
||
|
#define USER_SETUP_ID 146
|
||
|
|
||
|
#define TFT_PARALLEL_8_BIT
|
||
|
|
||
|
//#define ILI9341_DRIVER
|
||
|
//#define ST7796_DRIVER
|
||
|
#define ILI9488_DRIVER
|
||
|
|
||
|
// ESP32 S3 pins used for the parallel interface TFT
|
||
|
#define TFT_CS 9
|
||
|
#define TFT_DC 8 // Data Command control pin - must use a GPIO in the range 0-31
|
||
|
#define TFT_RST 34
|
||
|
|
||
|
#define TFT_WR 7 // Write strobe control pin - must use a GPIO in the range 0-31
|
||
|
#define TFT_RD 6
|
||
|
|
||
|
#define TFT_D0 12 // Must use GPIO in the range 0-31 for the data bus
|
||
|
#define TFT_D1 13 // so a single register write sets/clears all bits
|
||
|
#define TFT_D2 14
|
||
|
#define TFT_D3 15
|
||
|
#define TFT_D4 16
|
||
|
#define TFT_D5 21
|
||
|
#define TFT_D6 5
|
||
|
#define TFT_D7 4
|
||
|
|
||
|
|
||
|
#define LOAD_GLCD
|
||
|
#define LOAD_FONT2
|
||
|
#define LOAD_FONT4
|
||
|
#define LOAD_FONT6
|
||
|
#define LOAD_FONT7
|
||
|
#define LOAD_FONT8
|
||
|
#define LOAD_GFXFF
|
||
|
|
||
|
#define SMOOTH_FONT
|