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: mbed
Fork of Robocode by
Diff: source/StartUp.cpp
- Revision:
- 120:cdf7a6751f9e
- Parent:
- 119:eb212467afb0
- Child:
- 127:6bde4483ce7b
--- a/source/StartUp.cpp Fri May 12 08:33:04 2017 +0000
+++ b/source/StartUp.cpp Fri May 12 15:20:45 2017 +0000
@@ -54,10 +54,10 @@
turn_for_deg(180,1);
} else {
printf("turning...\r\n");
- if(turn_for_deg(0) < 0) { // check if turning complete
+ if(turn_for_deg(0,1) < 0) { // check if turning complete
// printf("turn finished...\r\n");
- return 102;
+ return 35;
}
}
return 28;
