Computers, Development Boards & Shields
Educational & Robotics Kits
Electronic Sensors
Motors & Controllers
Communication & Display
Electronic Components
Soldering & Lab Tools

0
How do I read humidity with the DHT22?

I have a DHT22 and I’m successfully read the temp. However, I was not able to find an example of how to read humidity.

1 Answer

0

If you look in the example code included with the DHT22 library (dht22_functions.ino) you can read Humidity by calling the following commands:

DHT22.read();
Serial.println((float)DHT22.humidity, DEC);

Let me know if you still need any help.

Respectfully,
Joseph Dattilo

Your Answer

No comments yet.

Leave a Reply