“This is a great little board for bulding dashboards or dials.
If you're using Platfomio, I initially struggled to get the right params to make it work.
Here's what worked for me (non-touch variant):
Platformio.ini
[env:development]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_build.arduino.memory_type = qio_qspi
board_build.flash_mode = qio
board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216
board_build.partitions = default_16MB.csv
board_build.extra_flags =
-D USER_SETUP_LOADED=1
-include "lib/TFT_eSPI_Setups/User_Setup.h"
-D SMOOTH_FONT
-DBOARD_HAS_PSRAM
lib_deps =
bodmer/TFT_eSPI
lahavg/QMI8658@^1.0.1
monitor_speed = 115200
Then your User_Setup.h looks like this:
#define GC9A01_DRIVER
#define TFT_WIDTH 240
#define TFT_HEIGHT 240
// ESP32-S3 pins
#define TFT_MOSI 11
#define TFT_SCLK 10
#define TFT_CS 9
#define TFT_DC 8
#define TFT_RST 12
#define TFT_BL 40
#define TFT_BACKLIGHT_ON HIGH
// For ESP32-S3, define the SPI port to use
#define USE_HSPI_PORT
#define SPI_FREQUENCY 80000000
// Load fonts if you need them, I use smooth fonts which are very good
#define LOAD_GLCD
#define LOAD_FONT2
//etc”