@zzmike76
Time to look at these and modify your code in line with what you learn:
Blink without delay, which is in the examples in the IDE under digital.
Also study
Using millis for timing
Demonstration for several things at the same time
Finite state machine tutorial will also be useful
1 Like