Code for transmitting through adf. Directly give it the physical layer data to be transmitted.a

Dependencies:   mbed-rtos mbed

Fork of ADF_test by shubham c

Revision:
20:2cfca61aafcb
Parent:
17:f410d4327247
Child:
21:bae83ef7ac5f
--- a/main.cpp	Thu Jul 07 15:31:41 2016 +0000
+++ b/main.cpp	Sun Jul 24 09:06:57 2016 +0000
@@ -58,7 +58,7 @@
 bool temp_return = 0;
 bool bcn_flag=0;
 bool bbram_flag=0;
-
+DigitalOut COM_OC_SW(PTB3);
 bool stop_transmission=false;
 bool sent_tmfrom_SDcard;
 bool loop_on;
@@ -891,6 +891,7 @@
 }
 int main()
 {
+    COM_OC_SW = 1;
     while(1) {
         reset_flags;
         gPC.puts("welcome to adf test\n");
@@ -909,7 +910,7 @@
                 break;\
                 }
         }
-        wait(0.1);
+        wait(0.5);
         gPC.printf("in WHILE\n");
 //        wait(1);
     }