TTGO_T_ECHO to use batteries, PIN_EINK_PWR_ON must be set to high

This commit is contained in:
Pedestrian authored and GitHub committed 2022-04-26 17:43:32 +08:00
1 parent d640478289
commit 13fa7c1628
1 file changed
+7
+7
View File
@@ -152,6 +152,13 @@ void setup()
DEBUG_MSG("\n\n//\\ E S H T /\\ S T / C\n\n");
initDeepSleep();
#if defined(TTGO_T_ECHO)
DEBUG_MSG("\n\nTTGO_T_ECHO PIN_EINK_PWR_ON\n\n");
pinMode(PIN_EINK_PWR_ON, OUTPUT);
digitalWrite(PIN_EINK_PWR_ON, HIGH);
#elif
#endif
#ifdef VEXT_ENABLE
pinMode(VEXT_ENABLE, OUTPUT);