Just a note: Be careful with the resistor as many of the packaged DHT sensors have the resistor already in the circuit. I don't know if the DHT you are using has one or not but read the data sheet carefully.
Just a note: Be careful with the resistor as many of the packaged DHT sensors have the resistor already in the circuit. I don't know if the DHT you are using has one or not but read the data sheet carefully.