ADF7023-mbed

Dependencies:   mbed

Revision:
1:7d363b744c5f
Parent:
0:3d0c404a914f
Child:
2:9958a83be730
--- a/main.cpp	Mon Jun 29 06:40:34 2015 +0000
+++ b/main.cpp	Mon Jun 29 08:31:00 2015 +0000
@@ -13,7 +13,7 @@
     CS=0;
     // To bring in off state
     adf.write(0xB0);
-    wait(0.1);
+    wait_ms(2);
     CS=1;
     
     // Write bbram
@@ -91,7 +91,7 @@
     adf.write(0x00);
     adf.write(0x00);
     CS=1;
-    wait(0.1);
+    wait(1);
     
     // Testmode register
     CS=0;
@@ -99,7 +99,7 @@
     adf.write(0x39);
     adf.write(0x10);
     CS=1;
-    wait(0.1);
+    wait_ms(2);
     
     //CMD_CONFIG_DEV
     CS=0;