Pleace, can somebody help me to understand the use and instalation about it. I'm new in this Arduino code... thanks FOR YOUR HELP....
If you are using the arduino-1.0.1 environment, then you must replace "WProgram.h" with "Arduino.h" - works like a charm!
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.
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?
An open, cross-platform journaling program.
A scientific plotting package.