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:
13:691b4d87aa3e
Parent:
7:74e41527807e
Child:
14:eee578d96cfe
--- a/main.cpp	Fri Jan 15 13:37:10 2016 +0000
+++ b/main.cpp	Tue Jun 07 07:19:22 2016 +0000
@@ -381,7 +381,6 @@
     spi.write(0xFF);\
     spi.write(0xFF);\
     gCS_ADF=1;\
-    ticker.attach_us(&check,32000);\
 }
 
 void adf_not_SDcard(){
@@ -412,7 +411,8 @@
      adf_not_SDcard();
      while(loop_on){
         led = !led; // toggle led
-        wait(0.2f);
+        wait_ms(32);
+        check();
        // printf("\ntime= %d",t);
         if(t>=27){
            printf("\n\nstop");