slipstick:
button is the pin number 2 and it will never equal 0. Try digitalRead(button) instead.Steve
Thanks so much, after alot of troubleshooting and with help of you it finally works, turns out I wired the button wrong
slipstick:
button is the pin number 2 and it will never equal 0. Try digitalRead(button) instead.Steve
Thanks so much, after alot of troubleshooting and with help of you it finally works, turns out I wired the button wrong