sforkowany z mirror/meshtastic-firmware
TTGO_T_ECHO to use batteries, PIN_EINK_PWR_ON must be set to high
rodzic
d640478289
commit
13fa7c1628
|
@ -153,6 +153,13 @@ void setup()
|
|||
|
||||
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);
|
||||
digitalWrite(VEXT_ENABLE, 0); // turn on the display power
|
||||
|
|
Ładowanie…
Reference in New Issue