Using three pin or four pin (I have both) to gather relative humidity and temp data. After setting up, all I get are zeros. Now I have an error message:
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"
In file included from C:\Users\Michael\Documents\Arduino\libraries\DHT-sensor-library-master\DHT_U.cpp:22:0:
C:\Users\Michael\Documents\Arduino\libraries\DHT-sensor-library-master\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.
DHT11 issues, HELP!
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: DHT11 issues, HELP!
You need to also install the Unified Sensor Library.
https://github.com/adafruit/Adafruit_Sensor
You can find it in the Library Manager if you filter your search for "unified sensor abstraction"
https://github.com/adafruit/Adafruit_Sensor
You can find it in the Library Manager if you filter your search for "unified sensor abstraction"
Please be positive and constructive with your questions and comments.