style(esp32-32e): reformat code and fix display dimensions
This commit is contained in:
@@ -2,20 +2,17 @@
|
||||
// TFT_eSPI User_Setup for ESP32-32E target
|
||||
// This file is copied over vendor/esp32-32e/TFT_eSPI/User_Setup.h
|
||||
// by the install-libs-32e task.
|
||||
//
|
||||
// TODO: Change the driver, pins, and dimensions to match your display.
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
|
||||
#define USER_SETUP_ID 200
|
||||
|
||||
// ── Driver ──
|
||||
#define ILI9341_DRIVER
|
||||
// #define ST7789_DRIVER
|
||||
// #define ILI9488_DRIVER
|
||||
|
||||
// ── Resolution ──
|
||||
#define TFT_WIDTH 240
|
||||
#define TFT_HEIGHT 320
|
||||
// FIXED: Match board_config.h (320x240 landscape)
|
||||
#define TFT_WIDTH 320
|
||||
#define TFT_HEIGHT 240
|
||||
|
||||
// ── SPI Pins ──
|
||||
#define TFT_MOSI 23
|
||||
|
||||
Reference in New Issue
Block a user