Azure-Samples / iot-hub-c-m0wifi-getstartedkit

Get started with the Adafruit Feather M0 Wifi Azure IoT Starter Kit
MIT License
5 stars 8 forks source link

Cannot compile: fatal error: Adafruit_Sensor.h: No such file or directory #42

Closed ralfr closed 7 years ago

ralfr commented 7 years ago

I‘m trying to get the sample compiled. However, I run into the following compile error:

file included from C:\Users\ralfr\Downloads\iot-hub-c-m0wifi-getstartedkit-master\iot-hub-c-m0wifi-getstartedkit-master\remote_monitoring\remote_monitoring.ino:4:0:

C:\Users\ralfr\Documents\Arduino\libraries\Adafruit_BME280_Library-master/Adafruit_BME280.h:26:29: fatal error: Adafruit_Sensor.h: No such file or directory

include

                         ^

compilation terminated.

Multiple libraries were found for "Adafruit_BME280.h" Used: C:\Users\ralfr\Documents\Arduino\libraries\Adafruit_BME280_Library-master Not used: C:\Users\ralfr\Documents\Arduino\libraries\Adafruit_BME280_Library exit status 1 Error compiling for board Adafruit Feather M0 (Native USB Port).

I also could not find the Sensor Masters library. Please help!

Michel-IT commented 6 years ago

same error, same problem with this sensor

Michel-IT commented 6 years ago

try to add this library to me it worked, if you think it is so simple that such a question does not deserve an answer, lol

https://github.com/adafruit/Adafruit_Sensor

sachendra003 commented 5 years ago

Download the "Adafruit Unified Sensor" library from the library manager - this worked for me.

adafruit sensor header file vlcsnap-2019-04-25-12h39m06s015_LI