Library Install

This tutorial is for the now ancient V1 Motor shield. Chances are you have a V2, check out the tutorial https://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino This tutorial is for historical reference and previous customers only!

First Install the Arduino Library

Before you can use the Motor shield, you must install the AF_Motor Arduino library - this will instruct the Arduino how to talk to the Adafruit Motor shield, and it isn't optional!

Open up the Arduino library manager:

Search for Adafruit Motor library and install it. Make sure it is the library for the V1 motor shield.

We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use

This guide was first published on Aug 27, 2012. It was last updated on Aug 27, 2012. This page (Library Install) was last updated on Nov 11, 2019.