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.
Revision 6:7c92808f2207, committed 2020-02-17
- Comitter:
- tranrick
- Date:
- Mon Feb 17 15:48:51 2020 +0000
- Parent:
- 5:3110b9209d3c
- Commit message:
- Lora Recieve and Control Motor;
Changed in this revision
motordriver.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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