Ultrasonic SR04 library for Arduino by LunaX - 2010/2011
Release 1.0 24-FEB-2012 beta version.
Release 1.0 24-FEB-2012 Initial Release
Easy to use ultrasonic library based on SR04 sensor.
Download latest zip file here http://getfiles.co/1rcR
Put the SR04 folder in "libraries\".
Open example project which is included in the zip file. Try it, like it :-) This example use my other library "Logging". Please download it too.
Methode | Comment |
---|---|
Distance | return distance in centimeter |
DistanceAvg | do several measurments, return average |
Ping | send only a ping signal |
getDistance | get latest distance in centimeter |