Updated version of the library to deal with the constructor without onUpdate callback function.
Fork of HC_SR04_Ultrasonic_Library by
Diff: ultrasonic.cpp
- Revision:
- 4:e0f9c9fb4cf3
- Parent:
- 3:3459c57331e2
- Child:
- 5:abbb418bf10f
--- a/ultrasonic.cpp Mon Nov 24 20:18:14 2014 +0000 +++ b/ultrasonic.cpp Mon Nov 24 20:23:07 2014 +0000 @@ -72,7 +72,7 @@ } int ultrasonic::isUpdated(void) { - printf("%d", done); + //printf("%d", done); d=done; done = 0; return d;