Control an H-Bridge using a PwmOut (enable) and two DigitalOuts (direction select). (forked from simon/Motor and changed according to our needs)

Dependents:   robots

Fork of Motor by Simon Ford

Auto generated API documentation and code listings for Motor

Classes

Motor Interface to control a standard DC motor

Code

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