2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
3:5266af49834f
Parent:
2:cf8ca6742db9
diff -r cf8ca6742db9 -r 5266af49834f communicate.h
--- a/communicate.h	Mon Aug 31 04:10:00 2015 +0000
+++ b/communicate.h	Wed Sep 02 05:12:26 2015 +0000
@@ -1,7 +1,22 @@
 /***RS485 Communication.***/
+//The pin is to communicate with RS_485
+#define RS485_TX p9
+#define RS485_RX p10
+#define RS485_Enable p8
 Serial RS485(RS485_TX, RS485_RX);
 
+/***IM920 Communication.***/
+//The pin is to communicate with IM920
+#define IM920_TX p28
+#define IM920_RX p27
+#define IM920_BUSY p26
+
+
 /***Get state ps3con.***/
+//The pin is to communicate with SBDBT
+#define SBDBT_TX p13
+#define SBDBT_RX p14
+
 Serial SBDBT(SBDBT_TX, SBDBT_RX);
 #define ps3_start 0x80
 short square=0,triangle=0,circle=0,cross=0,up=0,down=0,right=0,left=0,l1=0,l2=0,r1=0,r2=0;