Multitask using millis(), interrupts, timealarm() in combination with for() loops

Hello ureta_a

Welcome to the best Arduino forum ever :slight_smile:

Take a view to get some ideas:

hth