Timing

Tasker

Get rid of delay() calls, schedule tasks/functions instead.

Allows to schedule tasks (your functions) to be called once, repeatedly or indefinitely in a given time frame. Features simple and familiar Javascript-like syntax. Does not use any hardware interrupts, relies on cooperative multitasking. Simple, clean and highly portable.

Go to repository

This library is compatible with all architectures so you should be able to use it on all the Arduino boards.