Intro: How to Install a Library in MPIDE
MPIDE is a programming environment made for the Arduino compatible 32 bit microcontrollers in the chipKIT line. To add functionality to these microcontrollers, you can use Pmods, or LED strips. To make these easier to use libraries were created.
This instructable goes through all of the steps in installing a library for use in MPIDE.
Most likely you would be using a library if you are using a Pmod or LEDs with a chipKIT product. The libraries are located on their respective product pages.
Step 1: Download the Library
The first step is to download the zip file of the library to your computer.
Step 2: Obtain Sketchbook Location
Go to File -> Preferences
Take note of your sketchbook location
Step 3: Add a Libraries Folder
Open the sketchbook location on your computer.
Add a libraries folder.
Step 4: Install the Library
Extract the library into the libraries folder that you just created.
Step 5: View Library
You can now see the folder that contains the library.
Step 6: Open a Demo
If the library contains a demo of how to use it, you can open this from MPIDE.
Go to File -> Sketchbook -> libraries -> (library name) -> (demo name)
Step 7: Using the Library in Your Own Sketch
You can also use the library in your own sketch.
To import the library to your own sketch go to Sketch -> Import Library -> (Library name)
Alternatively, you can also just type the include yourself.
Step 8: Use the Libraries
Now that you know how to install a library, go check out our extensive collection of Pmods and their libraries.