daxarms:
When I make sure that Adafruit_Sensor.h is in the directory it throws the error I took three posts to publish.
OK, so you did something screwy when you downloaded Adafruit_Sensor.h, and you were wrong from the start to thing you should solve the problem by dumping that file into the library.
daxarms:
C:\Users\mjmil\Documents\Arduino\libraries\Adafruit_BME280_Library/Adafruit_BME280.h:26:29: fatal error: Adafruit_Sensor.h: No such file or directory
#include <Adafruit_Sensor.h>
Whenever you see a "No such file or directory" error it means you need to install a library. In some cases you will find instructions for how to do that in the documentation for the code that requires the library. Sometimes the dependencies are not documented but it's usually pretty easy to find them.
So what's going on here is you have a sketch C:\Users\mjmil\Documents\Arduino\humidity\humidity.ino that requires the Adafruit BME280 Library. But the Adafruit BME280 Library requires the Adafruit Unified Sensor Library (as you would see if you checked the documentation for that library). So you only need to follow the same process as before:
- Sketch > Include Library > Manage Libraries.
- Wait for download to finish.
- In the "Filter your search..." box, type "Adafruit unified Sensor abstraction layer".
- Click on "Adafruit Unified Sensor".
- Click "Install".
- Wait for installation to finish.
- Click "Close".