2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
26:8e6c736b6791
Parent:
25:e591b9fa5796
Child:
32:eb7c263cb5cf
Child:
44:315d5960f18c
--- a/communicate.h	Fri Sep 18 03:22:10 2015 +0000
+++ b/communicate.h	Fri Sep 18 04:00:33 2015 +0000
@@ -2,6 +2,8 @@
 #define RS485_TX p13
 #define RS485_RX p14
 Serial RS485(RS485_TX, RS485_RX);
+#define EnablePin p7
+DigitalOut Enable(EnablePin);
 inline void sendData(int address, int data5) {
     unsigned int data;
     if (data5 <= 31) {