Updated version of the library to deal with the constructor without onUpdate callback function.
Fork of HC_SR04_Ultrasonic_Library by
Revision 4:e0f9c9fb4cf3, committed 2014-11-24
- Comitter:
- ejteb
- Date:
- Mon Nov 24 20:23:07 2014 +0000
- Parent:
- 3:3459c57331e2
- Child:
- 5:abbb418bf10f
- Commit message:
- removed debbugging
Changed in this revision
ultrasonic.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;