mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-04 05:50:41 +08:00

* Update WebSocket library * Update SSDP library * Update TFT_eSPI library * Update EspLuaEngine library * Update SDFat library * Change to pioarduino * Make ESP3DMessageFIFO and ESP3DMessage more thread safe * Fix sanity checks for BT * Add some C6 support * Refactor ethernet code * Split Ethernet Sta / WiFi sta ESP Commands and settings * Simplify wait and wdtFeed code * Set C3 with 4MB by default in platformio.ini * Apply Disable brown out only on ESP32 to avoid crash e.g:ESP32S3 * Add missing entries in platformio.ini
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
|