Well, I've just downloaded the Ultrasonic library for the HC-SR04: http://iteadstudio.com/produce/cheap-cheap-ultrasonic-ranging-modulehc-sr04/
And in Arduino 022 it compiles perfectly with no errors, but when using the library in Arduino 1.0 I get this error:
In file included from UltrasonicDemoMod.cpp:1:
D:\Programming\Arduino\Arduino\libraries\Ultrasonic/Ultrasonic.h:11:22: error: WProgram.h: No such file or directory
My project code is the following:
How come WProgram.h is no more in Arduino 1.0? or maybe it has been renamed?