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

Dependencies:   mbed MultiSerial

Files at this revision

API Documentation at this revision

Comitter:
bousiya03
Date:
Fri Oct 17 07:45:22 2014 +0000
Parent:
40:01aa02474c8d
Commit message:
???????????????????

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 01aa02474c8d -r 4e2972c7dba7 main.cpp
--- 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)