New answers tagged

1

Look again at your logic here: if (num == 16130609){ mySwitch.disableReceive(); if (statusled == LOW) statusled = HIGH; } else { statusled = LOW; } When you press A you will get num with the value 16130609. In the if you turn the LED on, if it is off currently. But you never turn it off there. You will always get in this if statement when ...


Top 50 recent answers are included