Library for using HC-SR04 with some API Documentation added
Fork of HC_SR04_Ultrasonic_Library by
Revision 3:3459c57331e2, committed 2014-11-24
- Comitter:
- ejteb
- Date:
- Mon Nov 24 20:18:14 2014 +0000
- Parent:
- 2:cc1143d36567
- Child:
- 4:e0f9c9fb4cf3
- Commit message:
- added debugging
Changed in this revision
| ultrasonic.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
