春ロボ1班(元F3RC4班+) / Mbed 2 deprecated harurobo_main_ver5

Dependencies:   mbed EC PathFollowing-ver11 CruizCore_R1370P

Revision:
1:86eae1cf26d2
Parent:
0:f5992b0c6e00
Child:
2:e04e6b5d6584
--- a/main.cpp	Fri Nov 16 23:21:38 2018 +0000
+++ b/main.cpp	Fri Nov 16 23:32:58 2018 +0000
@@ -316,22 +316,22 @@
 
     pc_command = pc.getc();
 
-    if(pc_command == 'f') {  //前進
+    if(pc_command == 'w') {  //前進
         m1+=500;
         m2+=500;
         m3-=500;
         m4-=500;
-    } else if(pc_command == 'b') {  //後進
+    } else if(pc_command == 's') {  //後進
         m1-=500;
         m2-=500;
         m3+=500;
         m4+=500;
-    } else if(pc_command == 'r') {  //右回り
+    } else if(pc_command == 'd') {  //右回り
         m1+=500;
         m2+=500;
         m3+=500;
         m4+=500;
-    } else if(pc_command == 'l') {  //左回り
+    } else if(pc_command == 'a') {  //左回り
         m1-=500;
         m2-=500;
         m3-=500;