マザー 20151028 XBOX-XBEE

Dependencies:   mbed

Fork of Nucleo_PS3_Jikken_XBOX by 2015 robotic contest arakawa A

Revision:
26:a54985a8f714
Parent:
25:caa4d20d6c40
Child:
27:cc853efb663c
--- a/main.cpp	Wed Oct 28 09:19:49 2015 +0000
+++ b/main.cpp	Thu Oct 29 08:50:55 2015 +0000
@@ -21,7 +21,7 @@
 #define TL 200
 #define TNR 138//204
 #define TNL 150
-#define debugFlag 1
+#define debugFlag 0
 #define stopCount 33
 #define shotWait 0.5
 
@@ -226,7 +226,7 @@
 int main() { 
     pc.baud(230400);
     //Dev.baud(921600);//PS3
-    Dev.baud(115200);//XBOX
+    Dev.baud(57600);//XBOX
     Mechanum.baud(230400);
     DigitalIn bt(USER_BUTTON);
     Dev.attach(num,Serial::RxIrq);//受信割り込み設定