winlinvip / SimpleDHT

Simple, Stable and Fast Arduino Temp & Humidity Sensors for DHT11 and DHT22. http://learn.adafruit.com/dht
MIT License
144 stars 61 forks source link

SimpleDht rawbits. #48

Closed asif986 closed 2 years ago

asif986 commented 3 years ago

Hello .i am using the Ardunio simulator on the web. I am using the SimpleDHT lib. in that i use the simpledht using rawbits. but it getting 0 temp or 0 humidity.

byte data[5] = {0};

How can i pass the 8 bit data to get appropriate output.

winlinvip commented 2 years ago

Revert the data[5] to data[40].