mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-30 03:13:51 +00:00
turn off eink backlight
This commit is contained in:
parent
4faff3ec6f
commit
a0dd051511
@ -122,7 +122,8 @@ bool EInkDisplay::connect()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PIN_EINK_EN
|
#ifdef PIN_EINK_EN
|
||||||
digitalWrite(PIN_EINK_EN, HIGH);
|
// backlight power, HIGH is backlight on, LOW is off
|
||||||
|
digitalWrite(PIN_EINK_EN, LOW);
|
||||||
pinMode(PIN_EINK_EN, OUTPUT);
|
pinMode(PIN_EINK_EN, OUTPUT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user