mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-12 11:17:06 +01:00
update GREEN_ESP8266RELAY button1 mode
Mine was not working till I added BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH
This commit is contained in:
@@ -2239,7 +2239,7 @@
|
||||
// Buttons
|
||||
// Not a button but input via Optocoupler
|
||||
#define BUTTON1_PIN 5
|
||||
#define BUTTON1_MODE BUTTON_PUSHBUTTON
|
||||
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH
|
||||
#define BUTTON1_RELAY 1
|
||||
|
||||
// Relays
|
||||
|
||||
Reference in New Issue
Block a user