Update rpitx.py lots of prints

beta-cc-hi
Alan Johnston 2 years ago committed by GitHub
parent 2b9ed7cd07
commit cd031e9560
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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()

Loading…
Cancel
Save

Powered by TurnKey Linux.