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.
Dependents: ROCO104_Buggy BuggyDesign
Diff: Movement.cpp
- Revision:
- 3:bbb2ef5e0f68
- Parent:
- 2:878b6fd215d7
--- a/Movement.cpp Tue Mar 17 15:22:46 2020 +0000
+++ b/Movement.cpp Wed May 13 16:25:15 2020 +0000
@@ -28,7 +28,7 @@
HallState = 1;//Cange state
break;
case 1:
- if(fStopped == true && rStopped == false){//Make the go backwards
+ if(fStopped == true && rStopped == false){//Make the buggy go backwards
Wheel.Speed(-0.65,-0.65);//backward 65%
RevStop();//Check if the buggy has benn told to stop going backwards
dist();//Check distance