Skip to content

Commit 3d634a2

Browse files
committed
updated README.md
1 parent a49f11c commit 3d634a2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,17 @@ void loop(){
7373
```C++
7474
#include "TinyRF_RX.h"
7575

76-
// you can only use pins that support external interrupts
77-
// in Arduino Uno this is pins 2 and 3
78-
int rxPin = 2;
76+
// the pin which will be connected to receiver module
77+
// this pin has to support EXTERNAL interrupts
78+
// 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;
7983

8084
void setup(){
8185
Serial.begin(115200);
86+
//make sure you call this in your setup
8287
setupReceiver(rxPin);
8388
}
8489

0 commit comments

Comments
 (0)