From 2d7790d6582e8b5b7d7df321b59c0304263a01cf Mon Sep 17 00:00:00 2001 From: jgromes Date: Tue, 19 Nov 2019 17:56:04 +0100 Subject: [PATCH] [SX127x] Added missing listen mode command (#72) --- .../SX127x_Receive_Interrupt/SX127x_Receive_Interrupt.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/SX127x/SX127x_Receive_Interrupt/SX127x_Receive_Interrupt.ino b/examples/SX127x/SX127x_Receive_Interrupt/SX127x_Receive_Interrupt.ino index 3fd250da..d204348b 100644 --- a/examples/SX127x/SX127x_Receive_Interrupt/SX127x_Receive_Interrupt.ino +++ b/examples/SX127x/SX127x_Receive_Interrupt/SX127x_Receive_Interrupt.ino @@ -76,6 +76,7 @@ void setup() { // lora.sleep() // lora.transmit(); // lora.receive(); + // lora.readData(); // lora.scanChannel(); } @@ -153,6 +154,9 @@ void loop() { } + // put module back to listen mode + lora.startReceive(); + // we're ready to receive more packets, // enable interrupt service routine enableInterrupt = true;