From f0b27917edb9fb62cca16e758162e61edd2dfcae Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 2 Mar 2024 11:19:00 -0500 Subject: [PATCH] Update rpitx.py print channel --- rpitx.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index 3cf82d57..a30e9cc3 100644 --- a/rpitx.py +++ b/rpitx.py @@ -517,7 +517,9 @@ if __name__ == "__main__": f.close() system("sudo rm /home/pi/CubeSatSim/cwready") channel = 0 - while (channel < 7): + print(channel) + while channel < 7: + print(channel) system("gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + channel + ".txt -r 48000 > /dev/null 2>&1") channel += 1 # print("Sending cw1.txt")