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 0:4fbf332e6759

Name Size Actions
Distance_HC_SR04.cpp 4714 Revisions Annotate
Distance_HC_SR04.h 1573 Revisions Annotate