2C PCF8574" name="description">MicroLib_DHT11
With this MicroLib your Arduino board will be able read the actual temperature and humidity from a DHT11 sensor. Due to limiting just to the DHT11-sensor this library occupies less than one Kilobyte of program-memory. All you need to do is to include the file MicroLib_DHT11.h to your program.[Library API] [Example1] [DHT11 data sheet]
if (DHT11_Read(DHT11_pin, &v_Humidity, &v_Temperature) == 0) ...
A minimalistic example: Initialize the DHT11 pin, then read the temperature- and humidity-values in a loop and print them to the serial console.Back to the top of the document.