mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-03 12:44:46 +02:00
Add ESP32 S3 Box Lite (#2390)
* Add esp32-s3-box-lite display configuration (#2386) * Update Setup208_ESP32_S3_Box_Lite.h * Add ESP32 S3 Box Lite setup --------- Co-authored-by: nebulous <nebulous@crashed.net>
This commit is contained in:
@@ -131,6 +131,8 @@
|
||||
//#include <User_Setups/Setup206_LilyGo_T_Display_S3.h>
|
||||
//#include <User_Setups/Setup207_LilyGo_T_HMI.h>
|
||||
|
||||
//#include <User_Setups/Setup208_ESP32_S3_Box_Lite.h> // For the ESP32 S3 Box Lite (may also work with ESP32 S3 Box)
|
||||
|
||||
//#include <User_Setups/Setup301_BW16_ST7735.h> // Setup file for Bw16-based boards with ST7735 160 x 80 TFT
|
||||
|
||||
//#include <User_Setups/SetupX_Template.h> // Template file for a setup
|
||||
|
32
User_Setups/Setup208_ESP32_S3_Box_Lite.h
Normal file
32
User_Setups/Setup208_ESP32_S3_Box_Lite.h
Normal file
@@ -0,0 +1,32 @@
|
||||
// Display configuration for ST7789-based ESP32-S3-Box-Lite
|
||||
|
||||
#define USER_SETUP_ID 208
|
||||
#define USER_SETUP_INFO "ESP32-S3-BOX-LITE"
|
||||
|
||||
#define ST7789_DRIVER
|
||||
#define TFT_RGB_ORDER TFT_BGR
|
||||
|
||||
#define TFT_WIDTH 240
|
||||
#define TFT_HEIGHT 320
|
||||
|
||||
#define TFT_BL 45
|
||||
#define TFT_BACKLIGHT_ON LOW
|
||||
|
||||
#define TFT_CS 5
|
||||
#define TFT_DC 4
|
||||
#define TFT_RST 48
|
||||
|
||||
#define TFT_MOSI 6
|
||||
#define TFT_SCLK 7
|
||||
|
||||
#define LOAD_GLCD
|
||||
#define LOAD_FONT2
|
||||
#define LOAD_FONT4
|
||||
#define LOAD_FONT6
|
||||
#define LOAD_FONT7
|
||||
#define LOAD_FONT8
|
||||
#define LOAD_GFXFF
|
||||
|
||||
#define SMOOTH_FONT
|
||||
|
||||
#define SPI_FREQUENCY 40000000
|
Reference in New Issue
Block a user