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:
29:019ff388ed76
Parent:
28:a830131560e8
Child:
30:4ecc69d3cf8d
--- a/main.cpp	Fri Nov 28 14:40:03 2014 +0000
+++ b/main.cpp	Fri Nov 28 16:45:10 2014 +0000
@@ -10,9 +10,6 @@
 
 char message[100] = "";
 
-void callbackRX() {r.callbackRX();}                 // TODO: solve cast from memebr function pointer to function pointer
-void callbackTX() {r.callbackTX();}
-
 int main() {
     pc.printf("DecaWave 0.2\r\nup and running!\r\n");  
     dw.setEUI(0xFAEDCD01FAEDCD01);                  // basic methods called to check if we have a working SPI connection
@@ -21,7 +18,6 @@
     pc.printf("Voltage: %f\r\n", dw.getVoltage());
 
     r.receiver = true;
-    dw.setCallbacks(&callbackRX, &callbackTX);
     
     while(1) {
         for(int j = 0; j < 10; j++)