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

Issue: attach_us is depreciated - requires chrono duration, not integer

Error message: 'attach_us' is deprecated: Pass a chrono duration, not an integer microsecond count. For example use `10ms` rather than `10000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]