Browse Source

Fix button2 GPIO in Sonoff MINI

master
Xose Pérez 5 years ago
parent
commit
fe247c7465
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/config/hardware.h

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

@ -316,7 +316,7 @@
#define BUTTON1_PIN 0 #define BUTTON1_PIN 0
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH #define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
#define BUTTON1_RELAY 1 #define BUTTON1_RELAY 1
#define BUTTON2_PIN 14
#define BUTTON2_PIN 4
#define BUTTON2_MODE BUTTON_SWITCH | BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH #define BUTTON2_MODE BUTTON_SWITCH | BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH
#define BUTTON2_RELAY 1 #define BUTTON2_RELAY 1


Loading…
Cancel
Save