Arduino library for DHT11, DHT22, etc Temperature & Humidity Sensors
Go to file
Matthijs Kooijman f1b79028ea Clean up two-second interval check
There was some handling of millis() overflow that is not needed.
Standard unsigned subtraction and wraparound already works as expected,
so this extra check can be removed (it even hurts, since it introduces 2
seconds after a wraparound where no new data will be read, even if it
could otherwise happen).

Also, this prevents calling millis() a second time, since its value is
already known.
2015-07-24 21:41:19 +02:00
examples/DHTtester Fix merge conflicts, make compute heat index default to Fahrenheit to not break old code that assumes default is Fahrenheit. 2015-06-26 15:56:04 -07:00
DHT.cpp Clean up two-second interval check 2015-07-24 21:41:19 +02:00
DHT.h Add force parameter to read methods 2015-07-24 21:40:22 +02:00
keywords.txt Integrate keywords.txt from pull #31 2015-06-26 15:15:45 -07:00
library.properties Fix #37 by optimizing pulse read to use direct port access on AVR, stops checksum failures from missed signals. 2015-07-22 12:13:56 -07:00
README.txt added mini readme 2011-06-22 16:12:33 -04:00

This is an Arduino library for the DHT series of low cost temperature/humidity sensors. 

To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder DHT. Check that the DHT folder contains DHT.cpp and DHT.h. Place the DHT library folder your <arduinosketchfolder>/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.