I am trying to get readings from the Adafruit HTU21D-F Temp and Humidity sensor, but when verifying via web IDE, I get the error:
In file included from ../inc/spark_wiring.h:29:0, from ../inc/application.h:29, from Adafruit_HTU21DF.h:20, from Adafruit_HTU21DF.cpp:17: ../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp] #warning "Defaulting to Release Build" ^ In file included from Adafruit_HTU21DF.cpp:17:0: Adafruit_HTU21DF.h:22:18: fatal error: Wire.h: No such file or directory #include "Wire.h" ^ compilation terminated. make: *** [Adafruit_HTU21DF.o] Error 1
I’ve replaced the standard
#include "WProgram.h" with
#include "application.h", but am unsure with what to replace
Thanks for the help!