Timing

SimpleTicker

JSC electronics, development@jsce.cz

A library for creating Tickers, which will notify user that a given period has elapsed. Replaces delay() and allows users to write non-blocking code.

This library allows you to write non-blocking code. First, you create a new instance of Ticker, where you specify time period you want to track. Then you periodically call Ticker#perform() method, and after the period elapses, counter will be non-zero.

Go to repository

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