Device installation

In this section we cover retrieval of the latest release or development version of the code and subsequent installation for an Arduino device.

Download

Latest release

Navigate to the latest release and either download the .zip or the .tar.gz file.

Unpack the downloaded archive.

From source

The source is hosted on GitHub, to install the latest development version, use the following command.

git clone https://github.com/jfjlaros/arduino-peripherals.git

Installation

Arduino IDE

In the Arduino IDE, a library can be added to the list of standard libraries by clicking through the following menu options.

  • Sketch
  • Import Library
  • Add Library

To add the library, navigate to the downloaded folder and select the subfolder named peripherals.

  • Click OK.

Now the library can be added to any new project by clicking through the following menu options.

  • Sketch
  • Import Library
  • peripherals

Ino

Ino is an easy way of working with Arduino hardware from the command line. Adding libraries is also easy, simply place the library in the lib subdirectory.

cd lib
git clone https://github.com/jfjlaros/arduino-peripherals.git