In the long run you have no chance at all of getting code like this to work as it uses delay(). Look at the "blink without delay" example , and then look at FSM's (Finite State Machines) in the playground.
Mark
In the long run you have no chance at all of getting code like this to work as it uses delay(). Look at the "blink without delay" example , and then look at FSM's (Finite State Machines) in the playground.
Mark