Skip to content

Commit c1e4d4e

Browse files
authored
Update pin assignments
Moving data pin for the DHT sensor to pin 3. Leave pin 2 unused (for radio IRQ).
1 parent 2a50e3d commit c1e4d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/DhtTemperatureAndHumiditySensor/DhtTemperatureAndHumiditySensor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#include <DHT.h>
4545

4646
// Set this to the pin you connected the DHT's data pin to
47-
#define DHT_DATA_PIN 2
47+
#define DHT_DATA_PIN 3
4848

4949
// Set this offset if the sensor has a permanent small offset to the real temperatures
5050
#define SENSOR_TEMP_OFFSET 0

0 commit comments

Comments
 (0)