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/Main.cpp
- Revision:
- 67:d1ac034668fc
- Parent:
- 63:87b615e4a842
- Parent:
- 64:c2fcf3b349e9
- Child:
- 69:1fdcef6a7577
diff -r 87b615e4a842 -r d1ac034668fc source/Main.cpp
--- a/source/Main.cpp Wed Apr 19 08:59:53 2017 +0000
+++ b/source/Main.cpp Wed Apr 19 13:41:35 2017 +0000
@@ -13,7 +13,7 @@
// while (timer() < 300) {
while (1) {
- wait(0.001f);
+ wait(0.01f);
// 5min
//*******************************************************************************
//Non_state machine driven function
@@ -107,9 +107,7 @@
case 42:
state = move_backward_for_distance();
break;
- case 43:
- state = turn_for_deg(0);
- break;
+
case 46:
