Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: motordriver.h
- Revision:
- 6:7c92808f2207
- Parent:
- 4:5fb1296c0d60
--- a/motordriver.h Thu Nov 25 13:34:15 2010 +0000 +++ b/motordriver.h Mon Feb 17 15:48:51 2020 +0000 @@ -45,7 +45,7 @@ * @param set if the motor driver is able to do braking 0 false 1 true. */ Motor(PinName pwm, PinName fwd, PinName rev, int brakeable); - + /** Set the speed of the motor * * @param speed The speed of the motor as a normalised value between -1.0 and 1.0. @@ -58,7 +58,7 @@ * @param void * @return motor coasts until another instruction is recived. */ - + void coast(void); /** Set the motor to dynamicaly brake