From 5043ae71404358b61cb8dff34d143dd53e681e51 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 3 Mar 2024 07:22:03 -0500 Subject: [PATCH] Update rpitx.py more --- rpitx.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpitx.py b/rpitx.py index f677dc9a..531d08e6 100644 --- a/rpitx.py +++ b/rpitx.py @@ -483,9 +483,9 @@ if __name__ == "__main__": system("sudo rm /home/pi/CubeSatSim/cwready") ch = 1 for chan in range(7): -# command = "gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + str(chan) + ".txt -r 48000 > /dev/null 2>&1" -# print(command) -# system(command) + command = "gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + str(chan) + ".txt -r 48000 > /dev/null 2>&1" + print(command) + system(command) chan = chan + 1 if (command_tx == True): output(txLed, txLedOn)