software to control a DC motor, preferably interfacing with a motor driver.
Diff: DCMotor.h
- Revision:
- 2:46bca6d9dbda
- Parent:
- 1:88772267f757
- Child:
- 3:a0dc016b7cbb
diff -r 88772267f757 -r 46bca6d9dbda DCMotor.h --- a/DCMotor.h Fri Jul 15 17:56:07 2011 +0000 +++ b/DCMotor.h Fri Jul 15 17:58:29 2011 +0000 @@ -7,14 +7,14 @@ public: /** create a DCMotor object connected to the pins with speed control - * @param PWMPin PWM pin to control speed of motor - * @param PinA Digital output pin to connect to motor - * @param PinB Digital output pin to connect to motor + * @param PWMPin PWM pin to control speed of motor + * @param PinA Digital output pin to connect to motor + * @param PinB Digital output pin to connect to motor */ DCMotor(PinName PWMPin, PinName PinA, PinName PinB); /** drive Motor input range (-100 to 100). - * @param perCent PWM pin to control speed of motor + * @param perCent PWM pin to control speed of motor */ void driveIt(float);