hisyam fs / Mbed 2 deprecated Test_all

Dependencies:   mbed ADS1115 StepperMotor SRF05 TPA81new

Files at this revision

API Documentation at this revision

Comitter:
hisyamfs
Date:
Thu Jan 24 10:35:36 2019 +0000
Parent:
27:4d79aba70fe8
Child:
29:6b4df1306d21
Child:
30:5efd59a0226f
Child:
37:f0b535131cbf
Commit message:
semua

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Jan 23 14:44:45 2019 +0000
+++ b/main.cpp	Thu Jan 24 10:35:36 2019 +0000
@@ -121,14 +121,14 @@
         float dist_b4 = call_depan(raw_b4);
         
         pc.printf("ir atas\n");
-        pc.printf("%.2f %.2f\n", dist_a2, dist_a1);
-        pc.printf("%.2f %.2f\n", dist_a3, dist_a7);
-        pc.printf("%.2f %.2f\n", dist_a4, dist_a8);
-        pc.printf("%.2f %.2f\n", dist_a6, dist_a5);
+        pc.printf("    %.2f %.2f\n", dist_a2, dist_a1);
+        pc.printf("%.2f          %.2f\n", dist_a3, dist_a7);
+        pc.printf("%.2f          %.2f\n", dist_a4, dist_a8);
+        pc.printf("    %.2f %.2f\n", dist_a6, dist_a5);
         
         pc.printf("ir bawah\n");
-        pc.printf("%.2f\n", dist_b1);
-        pc.printf("%.2f %.2f\n", dist_b2, dist_b3);
-        pc.printf("%.2f\n", dist_b4);
+        pc.printf("      %.2f\n", dist_b1);
+        pc.printf("%.2f            %.2f\n", dist_b2, dist_b3);
+        pc.printf("      %.2f\n", dist_b4);
     }
 }