Synchronous and asynchronous library for ultrasonic distance measurement for the device HC-SR04 with error handling functionality (out of range detection, HW error detection). Main features: "echo" puls duration measurement, distance measurement from "echo" pulse duration, detection of "echo" signal malfunction, timeout detection, detection of measured values outside reliable limits (min, max)

Dependents:   TEST_Dist_lib

Download repository: zip gz

Files at revision 12:5bf5a7e62c5d

Name Size Actions
.hgtags 53 Revisions Annotate
Distance_HC_SR04.cpp 5241 Revisions Annotate
Distance_HC_SR04.h 7655 Revisions Annotate