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.
Dependencies: VNH5019
Fork of cansat by
Revision 11:e82a5e1154a1, committed 2015-08-14
- Comitter:
- s1210160
- Date:
- Fri Aug 14 22:38:32 2015 +0000
- Parent:
- 10:e40f6ad7dab3
- Commit message:
- 2015/08/14;
Changed in this revision
| cansat.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/cansat.cpp Thu Aug 13 07:10:53 2015 +0000
+++ b/cansat.cpp Fri Aug 14 22:38:32 2015 +0000
@@ -19,10 +19,10 @@
_agzSheild.changeSpeed(0, speed, 0, speed);
}
if(flag == 2){
- _agzSheild.changeSpeed(1, speed, 0, speed); //Turn Right
+ _agzSheild.changeSpeed(1, speed, 0, speed/2); //Turn Right
}
if(flag == 3){
- _agzSheild.changeSpeed(0, speed, 1, speed); //Turn Right
+ _agzSheild.changeSpeed(0, speed/2, 1, speed); //Turn Right
}
if(flag == 4){
_agzSheild.changeSpeed(2, speed, 2, speed);
