Arduino Installing Libraries
From charlesreid1
This article covers the installation of libraries into the Arduino Development Environment.
Contents
Installing Arduino Libs
Step 1: Obtain Library
The first step is to obtain the library. This can be done in a variety of ways - perhaps by using a package index, or by downloading files from Github or from someone's website. In any case, however you do it, just do it.
Step 2: Make Zip File
Now you create a zip file from the folder containing the library. You can have as much or as little as you want in the zip file, as long as you have:
- a folder
- inside of that folder, a library header file (named e.g.
MyLibrary.h
)
Step 3: Feed Zip File to Arduino
Now you'll load the zip file library into the Arduino Development Environment.
Step 4: Use the Library
Congratulations, you're done! Now you can go use the library.