mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-10-29 05:12:48 +00:00
ThinknodeM1: update eink driver
This commit is contained in:
1 parent
d7c0eadbe2
commit
b2106ea7ee
2 files changed
+10
No files matched your search
@@ -27,6 +27,11 @@ build_flags = ${nrf52_base.build_flags}
|
||||
-D UI_RECENT_LIST_SIZE=9
|
||||
-D UI_MSG_PREVIEW_SIZE=165
|
||||
-D EINK_MAX_PARTIAL_REFRESH=60
|
||||
-D EINK_DISPLAY_MODEL=GxEPD2_154_D67
|
||||
-D EINK_SCALE_X=1.5625f
|
||||
-D EINK_SCALE_Y=1.5625f
|
||||
-D EINK_X_OFFSET=0
|
||||
-D EINK_Y_OFFSET=10
|
||||
-D BACKLIGHT_BTN=PIN_BUTTON2
|
||||
-D AUTO_OFF_MILLIS=900000
|
||||
-D UI_NO_HIBERNATE
|
||||
|
||||
@@ -131,6 +131,11 @@ extern const int SCK;
|
||||
#define DISP_BUSY (3)
|
||||
#define DISP_BACKLIGHT (43)
|
||||
|
||||
#define PIN_DISPLAY_CS DISP_CS
|
||||
#define PIN_DISPLAY_DC DISP_DC
|
||||
#define PIN_DISPLAY_RST DISP_RST
|
||||
#define PIN_DISPLAY_BUSY DISP_BUSY
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// GPS
|
||||
|
||||
|
||||
Reference in new issue
Block a user