Please mention your set up clearly about which one of the following:
1. UNO + DHTII + BM085
2. DUE + DHT11 + BME280
................................................
and the like.
I have a working program on: UNO/DUE + 3.3V BMP85/BMP180 (Temperature, Pressure, Altitude)