-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DHT Library 1.3.0 Does NOt Work #62
Comments
I could manage to fix the compile issue by adding this : https://github.com/adafruit/Adafruit_Sensor But why we need it in first place and why cannot add it from Library Manager ??? |
I am experiencing the same and adding |
1.3.0 is broken here to (and adafruit sensors is not in library manager) |
I even tried version 1.2.3 (also with Adafruit_Sensor.h) but nothing seems to work for me. Its simply fails to read the data from the sensor. |
Broken here, too. Not cool pushing broken things to the public Arduino libraries... |
I fixed this issue by saving this Adafruit_Sensor.h file to new folder |
Including in this order solves the problem |
thanks @ViliusKraujutis. problem solved |
please can anyone help me solving this??? I too have the same error after downloading the library. |
I am getting this error please help me to solve this error: 'dht' does not name a type |
Downgrading the lib to 1.2.3 worked for me. |
Download the "Adafruit Unified Sensor" library from the library manager - this worked for me. |
I also had a problem with this, downgrading to 1.2.4 worked after I found this thread. It is a little distressing to do the automatic library upgrade in the Arduino IDE and suddenly have a broken compile. |
i had this exact same problem, and switching the DHT lib to 1.2.3 does solve the problem of compile error and compiles fine. Didnt try the route of adding Adafruit Unified Sensor as suggested by others. |
As was previously mentioned, download the "Adafruit Unified Sensor" library from the library manager. |
Downgrade to 1.2.3 Version to solve your issue. |
Download the "Adafruit Unified Sensor" it worked out for me https://github.com/adafruit/Adafruit_Sensor |
Thank you @jimgitonga , this work.
|
But that library is not part of the Arduino IDE library manager, right? Which means a lot of people won't find it. Shouldn't it be included there as a part of the library using it? |
@hoegge I don't know which version of the IDE you might be using but I can see the Adafruit Unified Sensor in the library manager. It was the second to last one on the list that I got while filtering the search with 'Unified Sensor.' |
@geofbaum 1.8.5 - sorry tried again, now it is there. Must have made a typo or something - sorry for the inconvenience |
@hoegge No inconvenience at all! Glad you were able to find it! |
Hi sghazagh, I experienced the same problem, to remove that issue you should re-update the older version such as 1.2.3 |
For using Adafruit DHT Humidity & Temperature library You must have the Adafruit Unified Sensor Library in Arduino libraries. |
yes. you can downgrade to version 1.2.3 |
@ViliusKraujutis You also helped me, thanks |
@marcosavini Thanks for the tip. Downgrading did work! |
It sems that 1.3.1 still has the same problem. Downgrading to 1.2.3 works perfectly |
Try to use Adafruit Unified Sensor Library along with DHT lib. |
Hi,
I can compile my project properly with DHT library 1.2.2.
However, after updating my library to version 1.3.0, this error raised and I cannot compile my project using DHT22 sensor:
//////////////////////////////////
/////////////////////////////
I cannot back to version 1.2.3 it says CRC error.
Backed to 1.2.2 and it compiles correctly.
Can you please advise!
The text was updated successfully, but these errors were encountered: