put RFM69 on D1 to avoid collision on RF receiver pin
This commit is contained in:
1 parent
46e4d62a52
commit
736d94e45d
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -32,7 +32,7 @@
|
||||
#define TimeBetweenReadingDHT 30000 // time between 2 DHT readings
|
||||
/*-------------------PIN DEFINITIONS----------------------*/
|
||||
#ifdef ESP8266
|
||||
#define DHT_RECEIVER_PIN D1
|
||||
#define DHT_RECEIVER_PIN D1 // you can put D5 if you don't use HCSR501 sensor and the RFM69
|
||||
#else
|
||||
#define DHT_RECEIVER_PIN D8
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ const char PROGMEM RFM69AP_NAME[] = "RFM69-AP";
|
||||
|
||||
/*-------------------PIN DEFINITIONS----------------------*/
|
||||
#ifdef ESP8266
|
||||
#define RFM69_CS D3
|
||||
#define RFM69_CS D1
|
||||
#define RFM69_IRQ D8 // GPIO15/D8
|
||||
#define RFM69_IRQN digitalPinToInterrupt(RFM69_IRQ)
|
||||
#define RFM69_RST D4 // GPIO02/D4
|
||||
|
||||
Reference in new issue
Block a user