Go Down

Topic: Error compiling in Ultrasonic (Read 91 times) previous topic - next topic


i tried to do all methods to install ultrasonic library and it appears in the Example but when i click on verify i see this message :/ Why ?!!!!!!!!!

Arduino: 1.6.0 (Windows 7), Board: "Arduino Uno"

In file included from UltrasonicDemo.pde:1:0:
C:\Users\user\Documents\Arduino\libraries\Ultrasonic/Ultrasonic.h:11:22: fatal error: WProgram.h: No such file or directory
 #include "WProgram.h"

compilation terminated.
Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.


Your library is really old.

Change WProgram.h to Arduino.h and see how you go (Arduino.h replaced WProgram.h in version 1.0 of the IDE)

Go Up