Have a look at the "Blink without Delay" example sketch in your IDE.
You'll want to use a scheme like this instead of Delays to accomplish what you want.
Have a look at the "Blink without Delay" example sketch in your IDE.
You'll want to use a scheme like this instead of Delays to accomplish what you want.