From c663e6ff2949493cdf4df5a102e2a2df90a8de49 Mon Sep 17 00:00:00 2001
From: Pavel Slama
Date: Wed, 16 May 2018 16:33:54 +0200
Subject: [PATCH] v1.1 update
---
code/espurna/config/hardware.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
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