Backport T-Echo fix for GPS and Reset Button to 1.2

This commit is contained in:
Thomas Göttgens
2022-05-04 09:58:35 +02:00
parent ba894ae95b
commit 7c253bfc3c
12 changed files with 112 additions and 560 deletions

View File

@@ -408,6 +408,12 @@ void setup()
initDeepSleep();
// Testing this fix für erratic T-Echo boot behaviour
#if defined(TTGO_T_ECHO) && defined(PIN_EINK_PWR_ON)
pinMode(PIN_EINK_PWR_ON, OUTPUT);
digitalWrite(PIN_EINK_PWR_ON, HIGH);
#endif
#ifdef VEXT_ENABLE
pinMode(VEXT_ENABLE, OUTPUT);
digitalWrite(VEXT_ENABLE, 0); // turn on the display power