I need a DHT11 sensor code

Hi
Can you help me ?
I need an arduino code that activate a LED when the temperature exceeds 50° .
(i'm using Arduino uno and DHT11 sensor)

This Arduino Playground - HomePage shows you how to get values from the sensor. Turning on an LED when a value exceeds a level is trivial.

Thank you