
Since this is my first library usage, I had to find out how to install a library in my workspace and decided to note the steps as a reference here.
Howto Install the Library-
1. Download the library, in my case AF_Motor from
https://github.com/adafruit/Adafruit-Motor-Shield-library/zipball/master.
2. Unzip and rename to motorsheild and copy in to the sketchbook libraries directory. (Create libaries directory, if not exists)
Eg:- /home/udara/sketchbook/libraries/ directory.
Why Rename: Default library name(adafruit-Adafruit-Motor-Shield-library-89a0973), contains hyphen(-) characters which causes library pickup issue during IDE startup.
3. Start/Restart IDE.
Hint: Browse File> Examples, you should see motorsheild sample sketches.
No comments:
Post a Comment