https://github.com/stevemarple/AsyncDelay
A simple abstraction for implementing delays and timeouts in Arduino sketches.
https://github.com/stevemarple/AsyncDelay
arduino arduino-library
Last synced: 4 months ago
JSON representation
A simple abstraction for implementing delays and timeouts in Arduino sketches.
- Host: GitHub
- URL: https://github.com/stevemarple/AsyncDelay
- Owner: stevemarple
- License: lgpl-2.1
- Created: 2012-11-06T22:21:01.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2020-11-30T21:45:03.000Z (almost 5 years ago)
- Last Synced: 2024-08-07T18:43:35.435Z (over 1 year ago)
- Topics: arduino, arduino-library
- Language: Python
- Size: 24.4 KB
- Stars: 64
- Watchers: 7
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
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/.