Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
MOTOR Class Reference
Interface to control a standard DC motor. More...
#include <Motor.h>
Public Member Functions | |
| void | setmode (int select) |
| Set the mode of the Motor driver. | |
| void | speed (float speed) |
| Set the speed of the motor. | |
Detailed Description
Interface to control a standard DC motor.
with an H-bridge using a PwmOut and 2 DigitalOuts
Definition at line 10 of file Motor.h.
Member Function Documentation
| void setmode | ( | int | select ) |
Set the mode of the Motor driver.
select>0 = LAP select=0 = SM(default)
Generated on Mon Jul 25 2022 01:04:06 by
1.7.2