Control a robot over the internet using UDP and a Wifly module (WiFi).
Dependencies: Motor TextLCD WiflyInterface mbed-rtos mbed
Motor Class Reference
Interface to control a standard DC motor. 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 32 of file Motor.h.
Constructor & Destructor Documentation
Motor | ( | PinName | pwm, |
PinName | fwd, | ||
PinName | rev | ||
) |
Member Function Documentation
Generated on Wed Jul 13 2022 01:43:15 by 1.7.2