From 516fc40f5336a83e060a6fd6e40f9b20cf5f10bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Tue, 9 Jan 2018 23:57:28 +0100 Subject: [PATCH] Recover configurations --- code/espurna/config/hardware.h | 7 ++----- code/espurna/config/sensors.h | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 198d593c..981be1aa 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -23,6 +23,7 @@ // ----------------------------------------------------------------------------- // Development boards // ----------------------------------------------------------------------------- + #if defined(NODEMCU_LOLIN) // Info @@ -35,12 +36,8 @@ #define BUTTON1_RELAY 1 // Relays - #define RELAY1_PIN 5 + #define RELAY1_PIN 12 #define RELAY1_TYPE RELAY_TYPE_NORMAL - #define RELAY2_PIN 4 - #define RELAY2_TYPE RELAY_TYPE_NORMAL - #define RELAY3_PIN 12 - #define RELAY3_TYPE RELAY_TYPE_NORMAL // LEDs #define LED1_PIN 2 diff --git a/code/espurna/config/sensors.h b/code/espurna/config/sensors.h index ce256e91..5844f2e9 100644 --- a/code/espurna/config/sensors.h +++ b/code/espurna/config/sensors.h @@ -2,7 +2,7 @@ // SENSORS - General data // ============================================================================= -#define SENSOR_DEBUG 1 // Debug sensors +#define SENSOR_DEBUG 0 // Debug sensors #define SENSOR_READ_INTERVAL 6 // Read data from sensors every 6 seconds #define SENSOR_READ_MIN_INTERVAL 6 // Minimum read interval