Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of 2015robot_main by
Diff: communicate.h
- 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) {