Chris Styles
/
mbedsumovore_logo
Motor.h
- Committer:
- chris
- Date:
- 2009-09-20
- Revision:
- 0:01a8e9b87e2f
File content as of revision 0:01a8e9b87e2f:
#ifndef MBED_MOTOR_H #define MBED_MOTOR_H #include "mbed.h" class Motor { public: Motor(PinName pwm, PinName fwd, PinName rev); void speed (float); protected: PwmOut _pwm; DigitalOut _fwd; DigitalOut _rev; }; #endif