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

Auto generated API documentation and code listings for Distance_HC_SR04

Classes

Code

Distance_HC_SR04.cpp [code]
Distance_HC_SR04.h [code] Library for distance measurement with device HC-SR04 and similar