2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
65:cebdfc0184d7
Parent:
64:a98fe602c26d
Child:
66:14df82661dfa
--- a/autoMode.h	Sun Oct 04 10:17:46 2015 +0000
+++ b/autoMode.h	Mon Oct 05 07:53:02 2015 +0000
@@ -31,12 +31,12 @@
     else if(b==8){ /*middle start*/
         flagf=1;
         targ_velocity=speed;
-        sendData(5,16);
+        sendData(5,17);
         wait(0.1);
-        sendData(4,16);
+        sendData(4,17);
         wait(0.1);
-        stateR = 16;
-        stateL = 16;
+        stateR = 17;
+        stateL = 17;
         step   = 4;
         CMode  = 6;
     }   
@@ -113,12 +113,12 @@
     else if(right){  /*middle start*/
         flagf = 1;
         targ_velocity=speed;
-        sendData(5,16);
+        sendData(5,17);
         wait(0.1);
-        sendData(4,16);
+        sendData(4,17);
         wait(0.1);
-        stateR = 16;
-        stateL = 16;
+        stateR = 17;
+        stateL = 17;
         step   = 4;
         CStep  = 6;
     }