Updated version of the library to deal with the constructor without onUpdate callback function.

Fork of HC_SR04_Ultrasonic_Library by EJ Teb

Files at this revision

API Documentation at this revision

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;