sparkfun / Weather_Shield

Barometric pressure, temperature, humidity and light sensing weather shield for Arduino.
https://www.sparkfun.com/
Other
69 stars 67 forks source link

Example includes don't match library file names #21

Closed ClintonKeith closed 9 years ago

ClintonKeith commented 9 years ago

When compiling the Weather Shield example, I noticed that the includes:

include "MPL3115A2.h" //Pressure sensor

include "HTU21D.h" //Humidity sensor

needed to be changed to

include "SparkFunMPL3115A2.h" //Pressure sensor

include "SparkFunHTU21D.h" //Humidity sensor

Not sure which is correct (lib names or includes)

ToniCorinne commented 9 years ago

Sorry about that! We tried to get all the example code when updating the Arduino libraries for 1.6+. Those have been fixed in commit 6442113715a5fa2c2fe53822eba27b16542d7d89. Thanks for pointing that out.