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

Fork of HC_SR04_Ultrasonic_Library by EJ Teb

Revision:
3:3459c57331e2
Parent:
2:cc1143d36567
Child:
4:e0f9c9fb4cf3
--- a/ultrasonic.cpp	Mon Nov 24 17:10:44 2014 +0000
+++ b/ultrasonic.cpp	Mon Nov 24 20:18:14 2014 +0000
@@ -72,6 +72,7 @@
     }
     int ultrasonic::isUpdated(void)
     {
+        printf("%d", done);
         d=done;
         done = 0;
         return d;