From f630fc8d881929596b09d88091b6cd74726a6709 Mon Sep 17 00:00:00 2001 From: Morgan Redfield Date: Thu, 18 Jul 2019 18:08:02 -0700 Subject: [PATCH] loop speech --- examples/SpeechTX/SpeechTX.ino | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/SpeechTX/SpeechTX.ino b/examples/SpeechTX/SpeechTX.ino index 7c49700..e7a6816 100644 --- a/examples/SpeechTX/SpeechTX.ino +++ b/examples/SpeechTX/SpeechTX.ino @@ -254,6 +254,10 @@ void setup() { radio.initialize(); radio.setRfPower(0); radio.frequency(145010); +} + +void loop() { + radio.waitForChannel(); // wait for the channel to be empty @@ -275,7 +279,5 @@ void setup() { voice.say(spFIRE); radio.setModeReceive(); -} - -void loop() { + delay(10000); }