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.

Dependents:   SimpleRover PIDRover IMURover incrementalencoder-pid-robot ... more

Embed: (wiki syntax)

« Back to documentation index

File Index

File List

Here is a list of all documented files with brief descriptions:
Motor.cpp [code]
Motor.h [code]