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

Auto generated API documentation and code listings for Motor

Classes

Motor Interface to control a standard DC motor with an H-bridge using a PwmOut and 2 DigitalOuts

Code

Motor.cpp [code]
Motor.h [code]