fix pins per email eink

This commit is contained in:
geeksville
2020-09-28 13:03:37 -07:00
parent 78fe41710b
commit e5d4fbb164
4 changed files with 57 additions and 24 deletions

View File

@@ -95,6 +95,11 @@ bool EInkDisplay::connect()
{
DEBUG_MSG("Doing EInk init\n");
#ifdef EINK_PIN_PWR_ON
digitalWrite(EINK_PIN_PWR_ON, HIGH); // If we need to assert a pin to power external peripherals
pinMode(EINK_PIN_PWR_ON, OUTPUT);
#endif
#ifdef PIN_EINK_EN
digitalWrite(PIN_EINK_EN, HIGH);
pinMode(PIN_EINK_EN, OUTPUT);