Skip to content

Commit 2f59794

Browse files
committed
Changed mini wake key to KEY1 and rotated 180 degrees
1 parent 563a44b commit 2f59794

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

include/config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ enum WIFI_CONNECT_RETRY_TIME // Time to sleep before trying to connect to the Wi
9191
#define PIN_INTERRUPT 0 //the boot button on the XIAO ESP32-S3, this button works as regular wakeup button
9292
#elif defined(BOARD_XIAO_EPAPER_DISPLAY)
9393
#define DEVICE_MODEL "xiao_epaper_display"
94+
#ifdef MINI_EPD
95+
#define PIN_INTERRUPT 2 //with silkscreen "KEY1"
96+
#else
9497
#define PIN_INTERRUPT 5 //with silkscreen "KEY3"
98+
#endif
9599
#define PIN_VBAT_SWITCH 6 //load switch enable pin for battery voltage measurement
96100
#define VBAT_SWITCH_LEVEL HIGH //load switch enable pin active level
97101
#elif defined(BOARD_SEEED_RETERMINAL_E1001)

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ lib_deps =
1111
bblanchon/ArduinoJson@7.4.2
1212
bitbank2/PNGdec@^1.1.6
1313
bitbank2/JPEGDEC@^1.8.4
14-
bitbank2/bb_epaper@^2.0.1
14+
bitbank2/bb_epaper@^2.1.7
1515

1616
; Dependencies for all device builds
1717
[deps_app]

0 commit comments

Comments
 (0)