This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Fix button2 GPIO in Sonoff MINI
master
Xose Pérez
5 years ago
parent
50eda3371b
commit
fe247c7465
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
#
define BUTTON1_RELAY 1
#
define BUTTON2_PIN
1
4
#
define BUTTON2_PIN 4
#
define BUTTON2_MODE BUTTON_SWITCH | BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH
#
define BUTTON2_RELAY 1
Write
Preview
Loading…
Cancel
Save