mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Arduino library for DHT11, DHT22, etc Temperature & Humidity Sensors
5973929e63
By cleverly setting _lastreadtime in begin() to make sure that it looks like the last read was alrady 2000 ms ago, even on startup when millis() still returns 0, there is no longer a need to keep a separate firstreading variable, saving a byte of memory and a bit of code. |
||
---|---|---|
examples/DHTtester | ||
DHT.cpp | ||
DHT.h | ||
keywords.txt | ||
library.properties | ||
README.txt |
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.