Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Distance_HC_SR04.h File Reference
Library for distance measurement with device HC-SR04 and similar. More...
Go to the source code of this file.
Data Structures | |
| class | Distance_HC_SR04 |
| Distance_HC_SR04 class. More... | |
Enumerations | |
| enum | Distance_HC_SR04_state { IDLE, STARTED, COMPLETED, TIMEOUT, OUT_OF_RANGE_MIN, OUT_OF_RANGE_MAX, ERROR_SIG } |
Definition of measurement FSM states. More... | |
Detailed Description
Library for distance measurement with device HC-SR04 and similar.
- Date:
- 21. Dec 2015 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)
Definition in file Distance_HC_SR04.h.
Enumeration Type Documentation
Definition of measurement FSM states.
Measurement FSM (Finite State Machine) states definition.
- Enumerator:
Definition at line 28 of file Distance_HC_SR04.h.
Generated on Mon Jul 18 2022 21:55:06 by
1.7.2