2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
27:287b93795472
Parent:
18:526124eef0d1
--- a/communicate.h	Thu Sep 17 02:58:36 2015 +0000
+++ b/communicate.h	Fri Sep 18 05:37:08 2015 +0000
@@ -2,6 +2,9 @@
 #define RS485_TX p13
 #define RS485_RX p14
 Serial RS485(RS485_TX, RS485_RX);
+/***Emergency stop.***/
+#define Emergency_Stop      p7
+DigitalOut Emergency_stop(Emergency_Stop);
 inline void sendData(int address, int data5) {
     unsigned int data;
     if (data5 <= 31) {