Download Print this page

Adafruit Motor Shield V2.0 Manual page 9

Advertisement

speed
Description
Set speed, control by PWM.
void move(int motor_id, int speed);
motor_id
0 - Chanel 0
1 - Chanel 1
speed: -100~100, the larger the faster, 0 for stop
stop
void stop(unsigned char motor_id);
brake
void brake(unsigned char motor_id);
Stepper
Note that we use the library provided by Arduino IDE to drive a stepper.
There's something need to be modified, please refer the examples.

Advertisement

loading
Need help?

Need help?

Do you have a question about the Motor Shield V2.0 and is the answer not in the manual?

Questions and answers