Test

Dependencies:   mbed DRV8825

Revision:
23:a74135a0271d
Parent:
22:f891c2bce091
Child:
24:be2b2be6907b
--- a/debugPC.cpp	Tue Oct 27 17:27:33 2020 +0000
+++ b/debugPC.cpp	Wed Oct 28 16:27:05 2020 +0000
@@ -438,14 +438,15 @@
     //*/
 
     // bt
-    /*
-    bt.printf("distance[0] = %f\n\r", ::distance[0]);
-    bt.printf("distance[1] = %f\n\r", ::distance[1]);
-    bt.printf("distance[2] = %f\n\r", ::distance[2]);
-    bt.printf("distance[3] = %f\n\r", ::distance[3]);
-    bt.printf("distance[4] = %f\n\r", ::distance[4]);
-    bt.printf("distance[5] = %f\n\r", ::distance[5]);
-    */
+    
+    bt.printf("distance[1] = %lf\n\r", distt[0]);
+    bt.printf("distance[2] = %lf\n\r", distt[1]);
+    bt.printf("distance[3] = %lf\n\r", distt[2]);
+    bt.printf("distance[4] = %lf\n\r", distt[3]);
+    bt.printf("distance[5] = %lf\n\r", distt[4]);
+    bt.printf("distance[6] = %lf\n\r", distt[5]);
+    bt.printf("\n\r");
+    
 }
 
 void affCodeurs()