Add user setup for TAMC Termod S3

This commit is contained in:
George Sparrow 2022-08-21 10:21:55 +08:00
parent 333f0f845c
commit e4c5e4d373
2 changed files with 30 additions and 0 deletions

View File

@ -133,6 +133,8 @@
//#include <User_Setups/Dustin_ILI9341_ESP32.h> // Setup file for Dustin Watts PCB with ILI9341 //#include <User_Setups/Dustin_ILI9341_ESP32.h> // Setup file for Dustin Watts PCB with ILI9341
//#include <User_Setups/ILI9225.h> //#include <User_Setups/ILI9225.h>
//#include <User_Setups/Setup300_TAMC_Termod_S3.h> // Setup file for TAMC PCB Termod S3
#endif // USER_SETUP_LOADED #endif // USER_SETUP_LOADED

View File

@ -0,0 +1,28 @@
#define ST7789_DRIVER
#define TFT_RGB_ORDER TFT_BGR
#define TFT_WIDTH 240
#define TFT_HEIGHT 320
#define TFT_MISO 13
#define TFT_MOSI 11
#define TFT_SCLK 12
#define TFT_CS 10
#define TFT_DC 18
#define TFT_RST 14
#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_FONT6
#define LOAD_FONT7
#define LOAD_FONT8
#define LOAD_FONT8N
#define LOAD_GFXFF
#define SMOOTH_FONT
#define SPI_FREQUENCY 27000000
#define SPI_READ_FREQUENCY 20000000
#define SPI_TOUCH_FREQUENCY 2500000
#define USE_HSPI_PORT