Author Options:

You got me good.? Answered

I was doing the first setup and I noticed the light was on and only went off when I pressed the button. I was confused because the text said, "Off when pressed" and then I though, "Oops, someone made a mistake here" and I changed the if/else to look for a LOW state on pin 2.

Then, I kept reading and saw you meant to do that. :)



6 months ago

I mean "On when pressed" in the text. It was incorrectly going off when pressed. :)