I'm having an issue with compiling code for my Arduino Nano; I installed the adrafruit dht11 sensor library, it is in my folder, but I am unable to compile my code when I include it. The error message I'm getting is:
Arduino: 1.8.13 (Windows 10), Board: "Arduino Nano, ATmega328P"
In file included from C:\Users\jason\OneDrive\Documents\Arduino\sketch_may24a\sketch_may24a.ino:2:0:
C:\Users\jason\OneDrive\Documents\Arduino\libraries\DHT_sensor_library/DHT_U.h:36:10: fatal error: Adafruit_Sensor.h: No such file or directory
exit status 1
Error compiling for board Arduino Nano.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
(I didn't add the lines it just did that when I pasted.)
My code isn't the problem because the compiling issue happens when I have no code.
The file I downloaded is in my library's folder.
Thank you for your time.