if(resetState == HIGH) // Or LOW, if you wired the switch that way
Probably be a good idea to actually read the reset switch, eh?
Reading it before setup(), init(), or loop() is a waste of time.
resetState does NOT have to be a global variable.
if(resetState == HIGH) // Or LOW, if you wired the switch that way
Probably be a good idea to actually read the reset switch, eh?
Reading it before setup(), init(), or loop() is a waste of time.
resetState does NOT have to be a global variable.