From f7cc7d885bdf553195159140521c76f8989b080d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 1 Aug 2023 16:57:19 -0400 Subject: [PATCH] add 5 second sleep after cw command --- rpitx.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index 26a6ce10..6e9b710b 100644 --- a/rpitx.py +++ b/rpitx.py @@ -271,7 +271,8 @@ if __name__ == "__main__": # output(txLed, txLedff) else: print("Turning off transmit") - system("echo > command_tx False") + system("echo > command_tx False") + sleep(5) try: f = open("/home/pi/CubeSatSim/cwready") system("gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw.txt -r 48000 > /dev/null 2>&1")