A small toolkit for easy, asynchronous square signal output and user input for the Arduino platform.
AsyncArduino is a set of C/C++ files and associated headers designed to facilitate non-blocking event listeners and responders for the Arduino ecosystem. Initialization functions build the button and sigl data structures which keep track of their states and other information [1]. Appropriate methods for struct processing ensure that multiple concurrent event listeners are capable of manipulating the Arduino's IO pins with minimal contention. (Note: This library is not rated for real-time applications, nor is it thread-safe!). ( Note: This tutorial was typed from a Mac OS X machine.)- (Optional) Open the Arduino IDE and create & save a new project to a new directory.
- Clone or otherwise download & extract this package to your Arduino sketch's directory.
- (Re)open the Arduino IDE and open the sketch where you have downloaded the files.
- At this point, you should see the AsyncArduino files among the file tabs.
Insert image here