Multiple blinking LEDs

To run two different 'tasks' at different rates - get rid of the delay()s, and implement two separate millis() timers.

The two states may be implemented as function()s, or if you are calling more than two functions - perhaps a state-machine would be more relevant.

If you follow the millis() tutorials, this will make sense very quickly.