Control a DC motor via a standard H-bridge using a PwmOut pin to control speed and two DigitalOut pins to control direction. Can change pwm period on the PwmOut pin, and also brake high or low.

Fork of Motor by Aaron Berk

Download repository: zip gz

Files at revision 2:88f2d02183a4

Name Size Actions
[up]
Motor.cpp 1777 Revisions Annotate
Motor.h 2474 Revisions Annotate