Class for DHT11, DHT21 and DHT22 (temperature & humidity)

robtillaart:

  • added #define DHTLIB_INVALID_VALUE -999 to remove that magic number from the lib too.

Rob

Wow! Very good too.

Thanks for this code and best regards,
Benito.