stepper
Connection to stepper motor on Adafruit Motor Shield V2 for Arduino
Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.
Description
A stepper
object represents a connection to a stepper motor on an
Adafruit® Motor Shield V2 connected to Arduino® hardware. Attach a motor shield to the Arduino hardware, and connect a stepper motor to the appropriate pins on the motor
shield. Create a motor shield object using the addon
function, and create
a stepper
object using the stepper
function. You can
control your stepper motor in MATLAB® using the object functions.
Creation
Description
Input Arguments
Properties
Object Functions
Use these object functions to control your stepper motor.
Examples
Version History
Introduced in R2014b