A library for reading dht sensors (temperature and humidity).
Since dht sensors are pretty slow, I have used highlevel functions in the lib, there should be plenty of cycles even at 1MHz, but I have only tested it on the CC3200 sofar.
Easy example, other functions are available for getting the raw values instead of float.
if (dht::readFloatData(2, &temperature, &humidity, true) == 0)
{
Serial.print("T: ");
Serial.print(temperature);
Serial.print(" H: ");
Serial.println(humidity);
}
Zip file included, source code lives at https://github.com/MORA99/Stoke