AsyncDelay icon indicating copy to clipboard operation
AsyncDelay copied to clipboard

A simple abstraction for implementing delays and timeouts in Arduino sketches.

AsyncDelay

A simple abstraction for implementing delays and timeouts in Arduino sketches.

Licence

Released under the GNU Lesser General Public License, version 2.1. See https://github.com/stevemarple/AsyncDelay/blob/master/LICENSE.txt

Examples

AsyncDelay_example

Demonstrate the use of start(), isExpired() and repeat().

OneShotExample

Demonstrate how to use timers in 'one-shot' mode.

ReadA0

Read the A0 input and print the value at regular values using an AsyncDelay timer.

Documentation

For documentation please see Read The Docs, https://asyncdelay.readthedocs.io/en/latest/.