Update rpitx.py string only in system call

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

@ -529,7 +529,8 @@ if __name__ == "__main__":
print("done for") print("done for")
for chan in range(7): for chan in range(7):
print("for loop") print("for loop")
system("gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + ch + ".txt -r 48000 > /dev/null 2>&1") command = "gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + ch + ".txt -r 48000 > /dev/null 2>&1"
system(command)
print("for loop1") print("for loop1")
ch = ch + 1 ch = ch + 1
print("for loop2") print("for loop2")

Loading…
Cancel
Save

Powered by TurnKey Linux.