PWM/Direction Motor Driver compatible with VNH3SP30 Motor Driver Carrier MD01B
Diff: MotorDriver.h
- Revision:
- 2:b00b27b2573d
- Parent:
- 1:4b1582384e71
diff -r 4b1582384e71 -r b00b27b2573d MotorDriver.h --- a/MotorDriver.h Mon Sep 29 17:15:29 2014 +0000 +++ b/MotorDriver.h Mon Sep 29 17:20:59 2014 +0000 @@ -40,8 +40,8 @@ MotorDriver(PinName PWMPin, PinName directionPin1, PinName directionPin2); /** - * Sets the PWM duty cycle to the absolute value of your percentage, and the direction as - * the sign of your value. + * Sets the PWM duty cycle to the absolute value of your percentage, and the direction + * as the sign of your value. * @param value From -1.0 to 1.0, the percentage you want to run your motor at. */ void SetValue(float value);