Munch:
Thank you both for your help but I modified my code and it still doesn't do what it should.
Now the LED is always on until I press and hold the push button for two seconds, then it turns off and stays off for two seconds.
What SHOULD happen?
Munch:
Thank you both for your help but I modified my code and it still doesn't do what it should.
Now the LED is always on until I press and hold the push button for two seconds, then it turns off and stays off for two seconds.
What SHOULD happen?