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:
- 63:87b615e4a842
- Parent:
- 61:b57577b0072f
- Child:
- 67:d1ac034668fc
--- a/source/Main.cpp Tue Apr 18 16:19:18 2017 +0000
+++ b/source/Main.cpp Wed Apr 19 08:59:53 2017 +0000
@@ -127,17 +127,25 @@
state = arm_position_move();
break;
case 52:
- state = arm_position_grabbing();
+ arm_position_grabbing();
+ state = 56;
+ wait_ms(1000);
break;
case 53:
state = arm_position_release();
+ state = 55;
+ wait_ms(1000);
break;
case 55:
state = open_grabber();
+ state = 52;
+ wait_ms(1000);
break;
case 56:
state = close_grabber();
+ state = 53;
+ wait_ms(1000);
break;
/*
