I created another sketch that just toggles the relays on and off repeatedly, they are hooked up the exact same way and they work fine. Also, just to verify, my if statement should have been like this:
Code:
if (alarmState == 1)Correct?
Yes
I created another sketch that just toggles the relays on and off repeatedly, they are hooked up the exact same way and they work fine. Also, just to verify, my if statement should have been like this:
Code:
if (alarmState == 1)Correct?
Yes