新增 ESP32 系列开发板 对 OLED-0.96 SSD1306 屏幕显示的支持 (#143)

1. 支持 ESP32 系列开发板: DevKitC / NodeMcu-32S / GoouuuESP32 / ESP32 DoIt / ESP-32S
2. 注意: 非ESP32-C3 / 非ESP32-S3
This commit is contained in:
ooxxU
2025-02-12 02:41:23 +08:00
committed by GitHub
parent e19604b21e
commit 5e406b481c
2 changed files with 34 additions and 1 deletions

View File

@@ -32,5 +32,11 @@
#define TOUCH_BUTTON_GPIO GPIO_NUM_5
#define BUILTIN_LED_GPIO GPIO_NUM_2
#define DISPLAY_SDA_PIN GPIO_NUM_4
#define DISPLAY_SCL_PIN GPIO_NUM_15
#define DISPLAY_WIDTH 128
#define DISPLAY_HEIGHT 64
#define DISPLAY_MIRROR_X true
#define DISPLAY_MIRROR_Y true
#endif // _BOARD_CONFIG_H_