[RF69] Added missing listen mode command (#72)
This commit is contained in:
parent
2d7790d658
commit
7ce656dd81
1 changed files with 4 additions and 0 deletions
|
@ -64,6 +64,7 @@ void setup() {
|
|||
// rf.sleep()
|
||||
// rf.transmit();
|
||||
// rf.receive();
|
||||
// rf.readData();
|
||||
}
|
||||
|
||||
// flag to indicate that a packet was received
|
||||
|
@ -125,6 +126,9 @@ void loop() {
|
|||
|
||||
}
|
||||
|
||||
// put module back to listen mode
|
||||
rf.startReceive();
|
||||
|
||||
// we're ready to receive more packets,
|
||||
// enable interrupt service routine
|
||||
enableInterrupt = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue