We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ae5a05b + f4f4f9a commit 893ae63Copy full SHA for 893ae63
examples/Switch/MultiSwitch_advance.ino
@@ -100,7 +100,7 @@ void setupFlipSwitches() {
100
int flipSwitchPIN = device.second.flipSwitchPIN; // get the flipSwitchPIN
101
102
flipSwitches[flipSwitchPIN] = flipSwitchConfig; // save the flipSwitch config to flipSwitches map
103
- pinMode(flipSwitchPIN, OUTPUT); // set the flipSwitch pin to OUTPUT
+ pinMode(flipSwitchPIN, INPUT); // set the flipSwitch pin to INPUT
104
}
105
106
@@ -183,4 +183,4 @@ void loop()
183
{
184
SinricPro.handle();
185
handleFlipSwitches();
186
-}
+}
0 commit comments