From 7ce656dd815633c44f144013357cd7cc757e0a98 Mon Sep 17 00:00:00 2001 From: jgromes Date: Tue, 19 Nov 2019 17:56:14 +0100 Subject: [PATCH] [RF69] Added missing listen mode command (#72) --- .../RF69/RF69_Receive_Interrupt/RF69_Receive_Interrupt.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/RF69/RF69_Receive_Interrupt/RF69_Receive_Interrupt.ino b/examples/RF69/RF69_Receive_Interrupt/RF69_Receive_Interrupt.ino index 336f41a1..a38ec020 100644 --- a/examples/RF69/RF69_Receive_Interrupt/RF69_Receive_Interrupt.ino +++ b/examples/RF69/RF69_Receive_Interrupt/RF69_Receive_Interrupt.ino @@ -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;