HC SR04
Dependencies: mbed HC_SR04_Ultrasonic_Library
Revision 3:6bee5e6345e1, committed 2019-05-12
- Comitter:
- Batoch
- Date:
- Sun May 12 15:49:48 2019 +0000
- Parent:
- 2:4b0821fe5e20
- Commit message:
- c fini
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4b0821fe5e20 -r 6bee5e6345e1 main.cpp --- 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)); } }