2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
68:2b2b88ecdcce
Parent:
66:14df82661dfa
Child:
69:bf094811b4a9
--- a/autoMode.h	Wed Oct 07 09:01:34 2015 +0000
+++ b/autoMode.h	Thu Oct 08 09:04:48 2015 +0000
@@ -30,14 +30,14 @@
     else if(b==8){ /*middle start*/
         flagf=1;
         targ_velocity=speed;
-        sendData(7,17);
+        sendData(7,57);
         stateR = 17;
         stateL = 17;
         step   = 4;
         CMode  = 6;
     }   
     else if(b==5){ /*reset*/
-        sendData(7,31);
+        sendData(7,255);
     }
     else if(b==9){  /*stop*/
         Motor_swing=0;
@@ -103,14 +103,14 @@
     else if(right){  /*middle start*/
         flagf = 1;
         targ_velocity=speed;
-        sendData(7,17);
+        sendData(7,57);
         stateR = 17;
         stateL = 17;
         step   = 4;
         CStep  = 6;
     }
     else if(square){ /*reset*/
-        sendData(7,31);
+        sendData(7,255);
     }
     else if(triangle){ /*set defo*/
         sendData(7,defoR);