Repository for final Beacon code of IITMSAT

Dependencies:   mbed

Revision:
25:90cdfbadea91
Parent:
24:ca96cddf25d0
--- a/BCN.h	Mon Nov 02 14:46:12 2015 +0000
+++ b/BCN.h	Sat Nov 07 10:23:10 2015 +0000
@@ -12,7 +12,7 @@
 #define LONG_TX_DATA 75    //in bytes      
 
 //#define RF_SILENCE_TIME 35*60
-#define RF_SILENCE_TIME 10 //changed for testing
+#define RF_SILENCE_TIME 5 //changed for testing
 
 //FUNCTION PROTOTYPING
 void FCTN_BCN_INIT();
@@ -28,7 +28,8 @@
 void clearTxBuf();
 uint8_t setFrequency(double);
 bool Check_ACK_RECEIVED();
-void reset_rfm();
+void init_spi();
+void reset_rfm(uint8_t);
 
 #define RF22_MAX_MESSAGE_LEN 255