Browse Source

Added support for Sonoff Touch

fastled
Xose Pérez 8 years ago
parent
commit
0b24d13a77
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      code/src/config/hardware.h

+ 9
- 0
code/src/config/hardware.h View File

@ -33,6 +33,15 @@
#define LED_PIN 13 #define LED_PIN 13
#define LED_PIN_INVERSE 0 #define LED_PIN_INVERSE 0
#elif defined(SONOFF_TOUCH)
#define MANUFACTURER "ITEAD"
#define DEVICE "SONOFF_TOUCH"
#define BUTTON_PIN 0
#define RELAY1_PIN 12
#define LED_PIN 13
#define LED_PIN_INVERSE 1
#elif defined(SONOFF_POW) #elif defined(SONOFF_POW)
#define MANUFACTURER "ITEAD" #define MANUFACTURER "ITEAD"


Loading…
Cancel
Save