HC-SR04 (community library)

Summary

Name Value
Name HC-SR04
Version 1.0.1
Installs 24321
License GPL3
Author rnash
Repository https://github.com/rvnash/HC-SR04.git
Download .tar.gz
All Versions 1.0.1, 1.0.0

Class to drive the HC-SR04 range finder.

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

HC-SR04

Class to operate to the HC-SR04 range finder.

Usage

Instantiate this class specifying which pins the Trig and Echo pins are connected to. And call the function to range find the distance.

Please see the src/HC-SR04.h file as well as examples/usage/usage.ino for an example of how to use this library.

LICENSE

See LICENSE

Browse Library Files