Comments for HC-SR04 Ultrasonic Arduino Library

07 Feb 2014 01:53 willianKNOWLES

Pleace, can somebody help me to understand the use and instalation about it. I'm new in this Arduino code... thanks FOR YOUR HELP....

29 Jul 2012 06:56 dmilly

If you are using the arduino-1.0.1 environment, then you must replace "WProgram.h" with "Arduino.h" - works like a charm!

13 Apr 2012 08:35 feravoon

I think, you should set a timout for "pulseIn" in "timing" method. Because if there are multiple sensors, one sensor blocks others, because one sensor waits for an echo for a long time.

Thanks for your effort. This library has been very helpful in my project.

01 Mar 2012 02:11 bigern00

I'm a newbie, so bear with me.

When I try to verify the sketch, it gives me the following error code:


In file included from UltrasonicDemo.cpp:1:
/Users/sabrinawhite/Documents/Arduino/libraries/Ultrasonic/Ultrasonic.h:11:22: error: WProgram.h: No such file or directory


How do I fix this?

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.