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:
- 35:554c922f2bb5
- Parent:
- 34:40d8d29b44b8
- Child:
- 37:20e0e2487efc
diff -r 40d8d29b44b8 -r 554c922f2bb5 source/Main.cpp
--- a/source/Main.cpp Wed Mar 29 12:10:32 2017 +0000
+++ b/source/Main.cpp Wed Mar 29 14:15:49 2017 +0000
@@ -132,13 +132,13 @@
state = grabbing();
break;
case 51:
- state = arm_move_up();
+ state = arm_position_move();
break;
case 52:
- state = arm_move_down();
+ state = arm_position_grabbing();
break;
case 53:
- state = arm_move_to_hold();
+ state = arm_position_release();
break;
case 55:
