diff --git a/User_Setup_Select.h b/User_Setup_Select.h index 8477297..b0f6941 100644 --- a/User_Setup_Select.h +++ b/User_Setup_Select.h @@ -131,6 +131,8 @@ //#include //#include +//#include // For the ESP32 S3 Box Lite (may also work with ESP32 S3 Box) + //#include // Setup file for Bw16-based boards with ST7735 160 x 80 TFT //#include // Template file for a setup diff --git a/User_Setups/Setup208_ESP32_S3_Box_Lite.h b/User_Setups/Setup208_ESP32_S3_Box_Lite.h new file mode 100644 index 0000000..a25e4ea --- /dev/null +++ b/User_Setups/Setup208_ESP32_S3_Box_Lite.h @@ -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