Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cnobile2012/hcsr04ultrasonic
Arduino library for the HCSR04 Ultrasonic sensor.
https://github.com/cnobile2012/hcsr04ultrasonic
Last synced: 9 days ago
JSON representation
Arduino library for the HCSR04 Ultrasonic sensor.
- Host: GitHub
- URL: https://github.com/cnobile2012/hcsr04ultrasonic
- Owner: cnobile2012
- License: mit
- Created: 2015-12-02T21:35:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-02T22:31:39.000Z (almost 9 years ago)
- Last Synced: 2024-04-16T02:08:43.041Z (7 months ago)
- Language: C++
- Size: 28.3 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Arduino library for the HCSR04 Ultrasonic Sensor
================================================It features timing, metric conversion (centimeter and inch) and standard deviation methods. Some ideas were gleaned from a library created by ITead studio at iteadstudio.com.
Look at the code and examples to understand how the library works. This is a reworked version of the code I previously released and is documented at http://wiki.tetrasys-design.net/HCSR04Ultrasonic.
The standard deviation code can be removed from the compilation resulting in a significant savings of resources. To do this comment the following line in the header file.
`#define COMPILE_STD_DEV`
## NOTES
1. Two of the examples were written before Arduino changed the file extention from .pde to .ino, but should not have issues when used in newer systems.
2. The Makefile is not use, as of yet, to compile the library, but to create tar and zip files and clean up backup files.