DHT11

hey guys I need to put DHT11 readings into a separate data location and discovered its reading zero but read's correctly when I read it directly using Serial.print(DHT.humidity); Serial.print(",\t"); Serial.println(DHT.temperature,1); into the serial monitor but if putting it into a data space then I get 0 0 reading can anyone help out.

but if putting it into a data space

Don;t understand what that means. Do you mean something like: float humidity = DHT.humidity;?

yep wanted to read temperature and humidity than send it over a wireless radio but all have had is zero

yep wanted to read temperature and humidity than send it over a wireless radio but all have had is zero

Then, clearly, the code you haven't posted is wrong. Fix it.

Also, identify the wireless method you are trying to use (nRF24, wifi, ?). Without proper information we can't help

Am using 433 wireless radio see sample

wanted to transmit both temperature and humidity

Jinmiolu: Am using 433 wireless radio see sample http://www.instructables.com/id/RF-315433-MHz-Transmitter-receiver-Module-and-Ardu/ wanted to transmit both temperature and humidity

Do we need to whack you with a clue-by-four? Where is your code?