k

Dependencies:   C12832 mbed

Fork of DecaWave by Matthias Grob & Manuel Stalder

Revision:
32:041dd02e0e3b
Parent:
31:6f76f3d518ac
Child:
33:6ea4c3dd504d
--- a/main.cpp	Mon Dec 01 13:04:18 2014 +0000
+++ b/main.cpp	Tue Dec 02 13:32:34 2014 +0000
@@ -18,10 +18,11 @@
     pc.printf("Voltage: %f\r\n", dw.getVoltage());
 
     r.receiver = true;
+    
     bool senderstart = true;
     while(1) {
         for(int j = 0; j < 10; j++)
-            pc.printf("%f ", r.tofs[j]*MMRANGING_TIMEUNIT);
+            pc.printf("%d  ", r.tofs[j]);//*MMRANGING_TIMEUNIT);
         pc.printf("\r\n");
         for(int j = 0; j < 10; j++)
             if(r.event[j][0] == '!') {