Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL

Dependencies:   mbed

Revision:
52:2b3b194144da
Parent:
51:abe8a392d50b
--- a/inc/th_rtz.h	Wed Mar 13 19:10:40 2019 +0000
+++ b/inc/th_rtz.h	Thu Mar 14 00:21:35 2019 +0000
@@ -31,19 +31,26 @@
 
 #include <string>
 
-void Mstr_Rx1_riseIRQ(void);
+extern volatile bool pulseReady;
 
-void Mstr_Rx1_fallIRQ(void);
+extern bool slave1;        //New for 1U5
+extern bool slave2;        //New for 1U5
+
+#define RX_TIMEOUT 1000
 
-void initFibers(void);
+void Slave_Init(void);
+
+void Slave_Rx_riseIRQ(void);
 
-void getOCLResponse(string &oclResponse);
+void Slave_Rx_fallIRQ(void);
+
+unsigned short Slave_RXstr(void);
 
 void sendPreamble(void);
 
-void sendMstr_one(void);
+void sendMstr_one(unsigned short);
 
-void sendMstr_zero(void);
+void sendMstr_zero(unsigned short);
 
 void sendByte(unsigned short slaveNum, char data_byte);