Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 2:f9c711bff980, committed 2019-03-21
- Comitter:
- hisyamfs
- Date:
- Thu Mar 21 12:48:59 2019 +0000
- Parent:
- 1:68e7f752b1fd
- Commit message:
- pojok kiri atas gak bisa;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Mar 18 11:45:15 2019 +0000
+++ b/main.cpp Thu Mar 21 12:48:59 2019 +0000
@@ -57,11 +57,15 @@
float dist_b4 = call_depan(raw_b4);
pc.printf("ir atas\n");
- pc.printf("%.2f %.2f %.2f %.2f\n", dist_b2, dist_a3, dist_a1, dist_b1);
- pc.printf("%.2f %.2f\n", dist_a2, dist_a5);
- pc.printf("%.2f %.2f\n", dist_a4, dist_a6);
- pc.printf("%.2f %.2f %.2f %.2f\n", dist_b4, dist_a8, dist_a7, dist_b3);
+ //pc.printf("%.2f %.2f %.2f %.2f\n", dist_b2, dist_a3, dist_a1, dist_b1);
+// pc.printf("%.2f %.2f\n", dist_a4, dist_a5);
+// pc.printf("%.2f %.2f\n", dist_a2, dist_a6);
+// pc.printf("%.2f %.2f %.2f %.2f\n", dist_b4, dist_a8, dist_a7, dist_b3);
+ pc.printf("%.2f %.2f %.2f %.2f\n", dist_a2, dist_a3, dist_a1, dist_b3);
+ pc.printf("%.2f %.2f\n", dist_a4, dist_a5);
+ pc.printf("%.2f %.2f\n", dist_b1, dist_a6);
+ pc.printf("%.2f %.2f %.2f %.2f\n", dist_b2, dist_a8, dist_a7, dist_b4);
// pc.printf("ir bawah\n");
// pc.printf(" %.2f\n", dist_b1);
// pc.printf("%.2f %.2f\n", dist_b2, dist_b3);