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
16e61f1084
Reduced delay times from 250ms and 20ms to 1ms. This was done in accordance with the datasheet. E.G. no where does it say you need to wait 250ms or 20ms. It does say to set the line high for a minimum of 1ms (the second delay). This has been tested and is working in my of my projects |
||
---|---|---|
.github | ||
examples | ||
DHT_U.cpp | ||
DHT_U.h | ||
DHT.cpp | ||
DHT.h | ||
keywords.txt | ||
library.properties | ||
README.md |
This is an Arduino library for the DHT series of low cost temperature/humidity sensors.
Tutorial: https://learn.adafruit.com/dht
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 /libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.
Adafruit DHT Humidity & Temperature Unified Sensor Library
This library also includes an optional class for the DHT humidity and temperature sensor which is designed to work with the Adafruit unified sensor library.
You must have the following Arduino libraries installed to use this class: