Browse Source

Merge pull request #1641 from irmishappy/patch-1

update hardware.h GREEN_ESP8266RELAY button1 mode
rules-rpn
Xose Pérez 5 years ago
committed by GitHub
parent
commit
019dc3596b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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

@ -2236,7 +2236,7 @@
// Buttons // Buttons
// Not a button but input via Optocoupler // Not a button but input via Optocoupler
#define BUTTON1_PIN 5 #define BUTTON1_PIN 5
#define BUTTON1_MODE BUTTON_PUSHBUTTON
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH
#define BUTTON1_RELAY 1 #define BUTTON1_RELAY 1
// Relays // Relays


Loading…
Cancel
Save