jaxce
1
i have this code to DHT11 sensor
but to compile generate this error:
Arduino: 1.6.12 (Windows 10), Board: "Arduino/Genuino Uno"
In file included from C:\Users\javier\Documents\Arduino\sensor1\sensor1.ino:1:0:
C:\Users\jack\Documents\Arduino\libraries\DHT/DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory
#include <Adafruit_Sensor.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
how to solve it?
somebody could help me?
Robin2
2
That suggests one of two things. Either you have the name wrong or you have not installed the library you want to reference.
...R
jaxce
3
thanks for your help...
I had installed the library correctly, but for some reason I did not install the file
#include <Adafruit_Sensor.h>
I had to copy it manually
system
4
I had installed the library correctly, but for some reason I did not install the file
Then you did NOT install the "librerie" correctly!
Suvid
5
Hello Friends,
I have found out the solution to this problem. Just download the adafruit common sensor driving library from here:-
https://github.com/adafruit/Adafruit_Sensor
After downloading, just install it and it should work fine...