FINAL ACS TO BE USED FOR TESTING. COMMISSIONING, ACS MAIN, DATA ACQ ALL DONE.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of ACS_FULL_Flowchart_BAE by
Diff: BCN.h
- Revision:
- 12:af1d7e18b868
- Parent:
- 0:7b4c00e3912f
--- a/BCN.h Wed Apr 13 17:00:25 2016 +0000 +++ b/BCN.h Wed Apr 13 18:34:28 2016 +0000 @@ -9,15 +9,15 @@ //Size of tx data #define SHORT_TX_DATA 60 //in bytes -#define LONG_TX_DATA 75 //in bytes +#define LONG_TX_DATA 125 //in bytes -//#define RF_SILENCE_TIME 5 //in seconds -#define RF_SILENCE_TIME 10 +//#define RF_SILENCE_TIME 35*60 +#define RF_SILENCE_TIME 5 //changed for testing //FUNCTION PROTOTYPING -void P_BCN_INIT(); -void P_BCN_FEN(); -void P_BCN_TX_MAIN(); +void FCTN_BCN_INIT(); +void FCTN_BCN_FEN(); +void FCTN_BCN_TX_MAIN(); void Set_BCN_TX_STATUS(uint8_t); uint8_t check_Temperature(); void SHORT_BCN_TX(); @@ -26,9 +26,9 @@ void writereg(uint8_t,uint8_t); uint8_t readreg(uint8_t); void clearTxBuf(); -uint8_t setFrequency(double,float); +uint8_t setFrequency(double); bool Check_ACK_RECEIVED(); -void reset_uC(); +void reset_rfm(); #define RF22_MAX_MESSAGE_LEN 255