Simple PID example for LabVIEW
Motor Class Reference
Interface to control a standard DC motor with an H-bridge using a PwmOut and 2 DigitalOuts. More...
#include <Motor.h>
Public Member Functions | |
Motor (PinName pwm, PinName fwd, PinName rev) | |
Create a motor control interface. | |
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 31 of file Motor.h.
Constructor & Destructor Documentation
Motor | ( | PinName | pwm, |
PinName | fwd, | ||
PinName | rev | ||
) |
Member Function Documentation
Generated on Tue Jul 12 2022 11:13:38 by 1.7.2