# scdht
This is a thin wrapper around Ricardo Timmermann's library for DHT22 sensors.
## Example
```
#include "scdht.h"
void app_main(void)
{
// Set the pin number
setDHTgpio(15);
// Get a reading
int ret = readDHT();
// Handle errors
errorHandler(ret);
float humidity = getHumidity();
float temperature = getTemperature();
}
```
idf.py add-dependency "sethcurry/scdht^0.0.1"