From cd031e9560614d244d8f516f39e67b29a464380b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 2 Mar 2024 12:02:43 -0500 Subject: [PATCH] Update rpitx.py lots of prints --- rpitx.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index 04b8587a..7c13699d 100644 --- a/rpitx.py +++ b/rpitx.py @@ -523,13 +523,18 @@ if __name__ == "__main__": print(channel) print(chan) print("done for") - for chan in range(7): + for chan in range(7): + print("for loop") system("gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + channel + ".txt -r 48000 > /dev/null 2>&1") + print("for loop1") channel = channel + 1 + print("for loop2") + # print("Sending cw1.txt") # system("cat /home/pi/CubeSatSim/cw1.txt") if (command_tx == True): + print("for loop3") output(txLed, txLedOn) output (pd, 1) sleep(0.1) @@ -547,8 +552,11 @@ if __name__ == "__main__": sleep(0.1) output(txLed, txLedOff) output (ptt, 1) + print("for loop4") + print("for loop5") print(chan) command_control_check() + print("for loop6") print(chan) print("done 2nd for") f.close()