We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a49f11c commit 3d634a2Copy full SHA for 3d634a2
README.md
@@ -73,12 +73,17 @@ void loop(){
73
```C++
74
#include "TinyRF_RX.h"
75
76
-// you can only use pins that support external interrupts
77
-// in Arduino Uno this is pins 2 and 3
78
-int rxPin = 2;
+// the pin which will be connected to receiver module
+// this pin has to support EXTERNAL interrupts
+// on Arduino and similar boards this is pin 2 & 3
79
+// on Digispark pro it's pin 3 & 9
80
+// on ESP it's all GPIO pins except GPIO16, but using a pin that doesn't have an
81
+// alternate function such as pin 12-14 is recommended
82
+uint8_t rxPin = 2;
83
84
void setup(){
85
Serial.begin(115200);
86
+ //make sure you call this in your setup
87
setupReceiver(rxPin);
88
}
89
0 commit comments