Updated comment on the Pin Out of the DHTxx Sensors

The DHTxx series sometimes come with 3 pins although the actual sensor itself happens to have 4 pins, So I made an update on the comment to help anyone who might find it sketchy ...Thanks
This commit is contained in:
ClementPeter 2021-03-12 22:14:19 +01:00 committed by GitHub
parent 61ffee54ba
commit 8f89d15729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,8 @@
// NOTE: If using a board with 3.3V logic like an Arduino Due connect pin 1
// to 3.3V instead of 5V!
// Connect pin 2 of the sensor to whatever your DHTPIN is
// Connect pin 4 (on the right) of the sensor to GROUND
// Connect pin 3 (on the right) of the sensor to GROUND (if your sensor has 3 pins)
// Connect pin 4 (on the right) of the sensor to GROUND and leave the pin 3 EMPTY (if your sensor has 4 pins)
// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor
// Initialize DHT sensor.