change default DHT pin for ESP32
following user feedback pin 16 works and 35 doesn't works
This commit is contained in:
1 parent
c1caf8f36e
commit
4b9ae94d05
1 file changed
+1
-2
+1
-2
@@ -38,8 +38,7 @@
|
||||
#if defined(ESP8266)
|
||||
#define DHT_RECEIVER_PIN 5 //5 = D1 you can put 14 = D5 if you don't use HCSR501 sensor and the RFM69
|
||||
#elif defined(ESP32)
|
||||
#define DHT_RECEIVER_PIN 35
|
||||
#define DHT_RECEIVER_PIN 16
|
||||
#else
|
||||
#define DHT_RECEIVER_PIN 8
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user