Datasheet

Library Reference
class Adafruit_MotorShield;
The Adafruit_MotorShield class represents a motor shield and must be instantiated before any DCMotors or
StepperMotors can be used. You will need to declare one Adafruit_MotorShield for each shield in your system.
© Adafruit Industries https://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino Page 34 of 43