Rolling buffer mechanism for Tx mode of ADF7023..Without any comments

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
dheerajmpai23
Date:
Wed Aug 05 11:17:22 2015 +0000
Parent:
0:d53780574d21
Commit message:
ROLLING BUFFER ADF7023 IITMSAT

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d53780574d21 -r 45b03e6a9c06 main.cpp
--- a/main.cpp	Thu Jul 09 05:20:28 2015 +0000
+++ b/main.cpp	Wed Aug 05 11:17:22 2015 +0000
@@ -350,11 +350,11 @@
     adf.write(0xFF);//Put Low Clearing the MCR Value of the Source Register
     CS=1;
     
-//    ticker.attach_us(&Interrupt,2000);
-    while(1)
-  {
+    ticker.attach_us(&Interrupt,2000);
+//    while(1)
+//  {
 //      ledr=!ledr;
-        Interrupt();
-      }
+//        Interrupt();
+//      }
     
 } 
\ No newline at end of file