diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 5069215c..5954ca2d 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -1965,7 +1965,7 @@ #define RELAY2_TYPE RELAY_TYPE_NORMAL // LEDs - #define LED1_PIN 16 + #define LED1_PIN 15 #define LED1_PIN_INVERSE 0 #define I2C_SDA_PIN 12 @@ -1981,6 +1981,12 @@ #endif #define RF_PIN 14 + #ifndef DIGITAL_SUPPORT + #define DIGITAL_SUPPORT 1 + #endif + #define DIGITAL_PIN 16 + #define DIGITAL_PIN_MODE INPUT + // ----------------------------------------------------------------------------- // Heltec Touch Relay // https://www.aliexpress.com/wholesale?catId=0&initiative_id=SB_20180408043114&SearchText=esp8266+touch+relay