The Phoenard Arduino library is a software utility library that includes driver software for various components. This means you only have to include one library to make use of the Phoenard’s basic functions. For some on-board sensors and controller chips, third-party libraries are available as well.
The library is written for use in the Arduino environment, which means you need to have the Arduino IDE installed. If you have not done so already, first install the Arduino IDE.
|The Phoenard Arduino library can be found on GitHub. A zipped library archive download can be found to the right. To install the library, click on:
Sketch -> Include Library -> Add .ZIP Library…
In the dialog that opens, navigate to where you downloaded the Phoenard-Master.zip and open it.
Using the library
To make use of the library functions, add the following line at the top of your sketch:
You can then make use of all the library has to offer: