HC SR04

Dependencies:   mbed HC_SR04_Ultrasonic_Library

Revision:
3:6bee5e6345e1
Parent:
2:4b0821fe5e20
--- a/main.cpp	Sun May 12 15:47:10 2019 +0000
+++ b/main.cpp	Sun May 12 15:49:48 2019 +0000
@@ -56,7 +56,7 @@
         mu.checkDistance();
         mu2.checkDistance();    //call checkDistance() as much as possible, as this is where
         //the class checks if dist needs to be called.
-        printf("c'est un: %d", comparaison(mur(x, y, alpha), distance1, distance2));
+        printf("c'est un: %d\n", comparaison(mur(x, y, alpha), distance1, distance2));
     }
 }