mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Merge pull request #183 from ClementPeter/patch-1
Updated comment on the Pin Out of the DHTxx Sensors
This commit is contained in:
commit
b30f03cec7
@ -20,7 +20,8 @@
|
|||||||
// NOTE: If using a board with 3.3V logic like an Arduino Due connect pin 1
|
// NOTE: If using a board with 3.3V logic like an Arduino Due connect pin 1
|
||||||
// to 3.3V instead of 5V!
|
// to 3.3V instead of 5V!
|
||||||
// Connect pin 2 of the sensor to whatever your DHTPIN is
|
// 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
|
// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor
|
||||||
|
|
||||||
// Initialize DHT sensor.
|
// Initialize DHT sensor.
|
||||||
|
Loading…
Reference in New Issue
Block a user