Break the problem down: blink without delay with some small modifications will give you your one pulse per second, and provide a backbone for all the other functions.
Break the problem down: blink without delay with some small modifications will give you your one pulse per second, and provide a backbone for all the other functions.