mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
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:
parent
61ffee54ba
commit
8f89d15729
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user