Browse Source

Fix GPIO definitions for Dual and Electrodragon

fastled
Xose Pérez 8 years ago
parent
commit
70853b1e6d
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      code/src/config/hardware.h

+ 3
- 5
code/src/config/hardware.h View File

@ -48,10 +48,8 @@
#define MANUFACTURER "ITEAD" #define MANUFACTURER "ITEAD"
#define DEVICE "SONOFF_DUAL" #define DEVICE "SONOFF_DUAL"
#define BUTTON_PIN 0 #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 #undef SERIAL_BAUDRATE
#define SERIAL_BAUDRATE 19230 #define SERIAL_BAUDRATE 19230
@ -81,7 +79,7 @@
#define RELAY1_PIN 12 #define RELAY1_PIN 12
#define RELAY2_PIN 13 #define RELAY2_PIN 13
#define LED_PIN 16 #define LED_PIN 16
#define LED_PIN_INVERSE 0
#define LED_PIN_INVERSE 1
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// ESPurna board (still beta) // ESPurna board (still beta)


Loading…
Cancel
Save