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:
- 136:b35f2d9b7402
- Parent:
- 135:644346924339
diff -r 644346924339 -r b35f2d9b7402 source/Main.cpp
--- a/source/Main.cpp Tue May 16 15:24:23 2017 +0000
+++ b/source/Main.cpp Tue May 16 16:18:29 2017 +0000
@@ -23,7 +23,11 @@
//This functions will be called every cycle, use for safety and sensor functipons
//*******************************************************************************
- //state = safety(state);
+ if (safety() && state != 50) { //arm down
+ //irgendwie rückwärts fahren
+ //state = 47
+ state = 61;
+ }
