From 70853b1e6ddb45100a12a2b47823b4e56e5be4a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Wed, 7 Dec 2016 11:03:19 +0100 Subject: [PATCH] Fix GPIO definitions for Dual and Electrodragon --- code/src/config/hardware.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/code/src/config/hardware.h b/code/src/config/hardware.h index c1c13b6d..64aac77e 100644 --- a/code/src/config/hardware.h +++ b/code/src/config/hardware.h @@ -48,10 +48,8 @@ #define MANUFACTURER "ITEAD" #define DEVICE "SONOFF_DUAL" #define BUTTON_PIN 0 - #define RELAY1_PIN 12 - #define RELAY2_PIN 13 - #define LED_PIN 15 - #define LED_PIN_INVERSE 1 + #define LED_PIN 13 + #define LED_PIN_INVERSE 0 #undef SERIAL_BAUDRATE #define SERIAL_BAUDRATE 19230 @@ -81,7 +79,7 @@ #define RELAY1_PIN 12 #define RELAY2_PIN 13 #define LED_PIN 16 - #define LED_PIN_INVERSE 0 + #define LED_PIN_INVERSE 1 // ----------------------------------------------------------------------------- // ESPurna board (still beta)