2015_robocon_bteam / Mbed 2 deprecated 2015robot_main_zenkoku

Dependencies:   PID QEI mbed

Revision:
27:88863fab46c0
Parent:
26:760f1bce8214
Child:
30:cd344beb415d
diff -r 760f1bce8214 -r 88863fab46c0 manualMode.h
--- a/manualMode.h	Sun Nov 08 10:56:27 2015 +0000
+++ b/manualMode.h	Mon Nov 09 11:33:13 2015 +0000
@@ -51,7 +51,7 @@
             sendData(1,5);
         }
     }
-    /*else if(b==1){
+    else if(b==1){
         if(edge1){
             edge1=0;
             if(stateL!=1) stateL--;
@@ -78,8 +78,8 @@
             if(stateR!=92) stateR++;
             sendData(5,stateR);
         }
-    }*/
-    if(b==2){
+    }
+    /*if(b==2){
         if(edge2){
             edge2=0;
             targ_sita+=PI/4;
@@ -90,7 +90,7 @@
             edge3=0;
             targ_sita-=PI/4;
         }
-    }
+    }*/
     if(b!=7) edge7=1;
     if(b!=1) edge1=1;
     if(b!=2) edge2=1;