Browse Source

Fix MQTT_RELAY compile error due missing #define BUTTON1_MODE

fastled
denisfrench 7 years ago
parent
commit
14c559570f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/config/hardware.h

+ 1
- 0
code/espurna/config/hardware.h View File

@ -383,6 +383,7 @@
#define DEVICE "MQTT_RELAY"
#define BUTTON1_PIN 0
#define BUTTON1_RELAY 1
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
#define RELAY1_PIN 12
#define RELAY1_PIN_INVERSE 0
#define LED1_PIN 16


Loading…
Cancel
Save