Skip to content

Commit 893ae63

Browse files
committed
2 parents ae5a05b + f4f4f9a commit 893ae63

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)