Skip to content

Commit f4f4f9a

Browse files
authored
Merge pull request #64 from fngstudios/master
Fixed bug in MultiSwitch_advance.ino
2 parents c226324 + 2a2a50c commit f4f4f9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Switch/MultiSwitch_advance.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void setupFlipSwitches() {
100100
int flipSwitchPIN = device.second.flipSwitchPIN; // get the flipSwitchPIN
101101

102102
flipSwitches[flipSwitchPIN] = flipSwitchConfig; // save the flipSwitch config to flipSwitches map
103-
pinMode(flipSwitchPIN, OUTPUT); // set the flipSwitch pin to OUTPUT
103+
pinMode(flipSwitchPIN, INPUT); // set the flipSwitch pin to INPUT
104104
}
105105
}
106106

@@ -183,4 +183,4 @@ void loop()
183183
{
184184
SinricPro.handle();
185185
handleFlipSwitches();
186-
}
186+
}

0 commit comments

Comments
 (0)