DHT11 through 4 pin, how plug & program

check - Arduino Playground - DHT11Lib - or - Arduino Playground - DHTLib - library with small sample code.