中継機能つけた受け取りオムニ

Dependencies:   mbed MultiSerial

Revision:
42:4e2972c7dba7
Parent:
40:01aa02474c8d
--- a/main.cpp	Wed Oct 15 11:53:06 2014 +0000
+++ b/main.cpp	Fri Oct 17 07:45:22 2014 +0000
@@ -151,8 +151,8 @@
         if(packet.leg&R_D) motors = 0xA5; //10100101 D
 
         /* Turn circling */
-        if(packet.leg&L_L) motors = 0x66; //01100110
-        if(packet.leg&L_R) motors = 0x99; //10011001
+        if(packet.leg&L_R) motors = 0x66; //01100110
+        if(packet.leg&L_L) motors = 0x99; //10011001
         //if(packet.leg&L_U)
         //if(packet.leg&L_D)