Error-1: Error in DHT sensor library in Arduino IDE?
Ans: If you find any error in Arduino IDE related to the DHT library.
Step:1 Go to C:\Users\username\Documents\Arduino\libraries path.
Step:2 Find DHT_Sensor_Library.
Step: 3 Delete this library.
Step: 4 Open Arduino IDE.
Step: 5 Go to Sketch ⟶ include library⟶ manage library
Step: 6 Search DHT sensor library by Adafruit and download the 1.1 to 1.3 version.
if the troubleshooting is not fixed till now, then
Step: 7 In Arduino IDE go to File⟶Examples⟶DHT sensor library⟶DHT tester
Open this example and see how to write code for the DHT sensor.
I hope your troubleshoot is now fixed. After that, you have any query please ask in comments.
Step-2: If in board manager there is any error then close the window & press Ctrl+Comma
Ans: If you find any error in Arduino IDE related to the DHT library.
Step:1 Go to C:\Users\username\Documents\Arduino\libraries path.
Step:2 Find DHT_Sensor_Library.
Step: 3 Delete this library.
Step: 4 Open Arduino IDE.
Step: 5 Go to Sketch ⟶ include library⟶ manage library
Step: 6 Search DHT sensor library by Adafruit and download the 1.1 to 1.3 version.
if the troubleshooting is not fixed till now, then
Step: 7 In Arduino IDE go to File⟶Examples⟶DHT sensor library⟶DHT tester
Open this example and see how to write code for the DHT sensor.
I hope your troubleshoot is now fixed. After that, you have any query please ask in comments.
thanks for your solution, it helps me a lot.
ReplyDeletepleasure is all mine.
Delete