This is the DW1000 driver and our self developed distance measurement application based on it. We do this as a semester thesis at ETH Zürich under the Automatic Control Laboratory in the Department of electrical engineering.

Dependencies:   mbed

Revision:
19:e94bc88c1eb0
Parent:
18:bbc7ca7d3a95
Child:
20:257d56530ae1
--- a/main.cpp	Mon Nov 24 16:48:03 2014 +0000
+++ b/main.cpp	Tue Nov 25 14:48:51 2014 +0000
@@ -59,19 +59,19 @@
     dw.startRX();
     
     while(1) {
-#if 0
+#if 1
         if(i < 1200) {
             message[i] = 48+ (i%10);
             message[i+1] = '\0';
         }
         
-        //wait(0.1);
+        wait(0.01);
         dw.sendString(message);
         
 #endif
 #if 0
         pc.printf("%d Waiting...  ", i);
-        pc.printf("Status: %010llX  ", dw.getStatus());
+        pc.printf("Status: %010llX\r\n", dw.getStatus());
         wait(5);
 #endif
         i++;