From 52b08a02e41842cc5c49b09dfc9aca772866e126 Mon Sep 17 00:00:00 2001 From: jgromes Date: Tue, 19 Nov 2019 17:56:24 +0100 Subject: [PATCH] [CC1101] Added missing listen mode command (#72) --- .../CC1101_Receive_Interrupt/CC1101_Receive_Interrupt.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/CC1101/CC1101_Receive_Interrupt/CC1101_Receive_Interrupt.ino b/examples/CC1101/CC1101_Receive_Interrupt/CC1101_Receive_Interrupt.ino index 9fcae3fe..a4307ab4 100644 --- a/examples/CC1101/CC1101_Receive_Interrupt/CC1101_Receive_Interrupt.ino +++ b/examples/CC1101/CC1101_Receive_Interrupt/CC1101_Receive_Interrupt.ino @@ -70,6 +70,7 @@ void setup() { // cc.sleep() // cc.transmit(); // cc.receive(); + // cc.readData(); } // flag to indicate that a packet was received @@ -142,6 +143,9 @@ void loop() { } + // put module back to listen mode + cc.startReceive(); + // we're ready to receive more packets, // enable interrupt service routine enableInterrupt = true;