CDMS_CODE_samp_23SEP_DMA_flag

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE_samp_23SEP_DMA by iitm sat

Revision:
285:fe33b39dd267
Parent:
284:5bfd48ce169d
Child:
288:aa93d6652381
--- a/main.cpp	Mon Aug 01 20:57:54 2016 +0000
+++ b/main.cpp	Mon Aug 01 22:02:48 2016 +0000
@@ -38,7 +38,12 @@
 int main()
 {    
     
+    //RELAY SWITCHING 
     
+    
+    RF_SW_CNTRL_BCN = 1;
+    Thread::wait(25);
+    RF_SW_CNTRL_BCN = 0;
     PYLD_DFF = 1;
     
     for(int i= 0; i< 10 ; i++)
@@ -57,6 +62,10 @@
     
     gPC.baud(1200);//changed for bypassing COM
     
+    Base_tm *tm_ptr = NULL;
+    SET_BCN_STANDBY(tm_ptr);
+    gPC.puts("set Bcn off\r\n");
+    
     // COMMON SPI
     spi.format(8,0);
     spi.frequency(500000);