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: Motor.cpp
- Revision:
- 8:489ad954ec7b
- Parent:
- 7:b76e530f94f0
--- a/Motor.cpp Thu May 21 20:17:29 2015 +0000 +++ b/Motor.cpp Sat May 23 18:19:01 2015 +0000 @@ -104,7 +104,7 @@ float delta_spd = target_spd - actual_spd; //if delta_spd large, brake this cycle. - if(delta_spd < -0.05){ + if(delta_spd < -0.03){ motor->write(0.0); *brake = 1; return;