consolidate sketches
This commit is contained in:
22
boards/esp32-32e/board_config.h
Normal file
22
boards/esp32-32e/board_config.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#define BOARD_NAME "WS_32E"
|
||||
|
||||
// ══════════════════════════════════════════════════════════
|
||||
// TODO: Set these to match YOUR display + wiring.
|
||||
// Defaults below are for a common ILI9341 320×240 SPI TFT.
|
||||
// The actual pin mapping must also be set in tft_user_setup.h
|
||||
// (which gets copied into the vendored TFT_eSPI library).
|
||||
// ══════════════════════════════════════════════════════════
|
||||
|
||||
#define DISPLAY_WIDTH 320
|
||||
#define DISPLAY_HEIGHT 240
|
||||
#define DISPLAY_ROTATION 1 // landscape
|
||||
|
||||
// Backlight GPIO (directly wired)
|
||||
#define PIN_LCD_BL 22
|
||||
|
||||
// Touch — if using XPT2046 via TFT_eSPI, set TOUCH_CS in tft_user_setup.h
|
||||
// If using capacitive touch (e.g. FT6236), configure I2C pins here:
|
||||
// #define TOUCH_SDA 21
|
||||
// #define TOUCH_SCL 22
|
||||
Reference in New Issue
Block a user