Is it DHT11 or DHT22 that you are using?
What is the name of the Library that you are using for DHT11/DHT22 sensor?