Help Required Sparkfun Weather Sheild example program won't compile

Hi All,

I’ve just received a Sparkfun Weather Shield today & using sample program in the Web IDE Library is causing an issue when I chick verify (again when using the Web IDE).

The exact error is as follows:

sparkfun_photon_weather_shield_example.cpp:39:52: fatal error: SparkFun_Photon_Weather_Shield_Library.h: No such file or directory
#include "application.h"
^
compilation terminated.
make[1]: *** […/build/target/user/platform-6sparkfun_photon_weather_shield_example.o] Error 1
make: *** [user] Error 2

Any suggestions would be gratefully welcome ?

Regards,

Mark

Hi Mark,
I also have the latest version and it compiles well.
You need to include the SparkFun_Photon_Weather_Shield_Library.h and SparkFun_Photon_Weather_Shield_Library.cpp files in the WEB IDE, you can do this by clicking on a + sign in the top right corner of the IDE.
Just copy the 2 files from the SParkfun github into the IDE and give it a try.

Here with me it’s displaying nicely, I added a spark.publish function to it and see the values coming in in the Particle Dashboard.

KR,
Rudy