Update rpitx.py use str

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

@ -529,7 +529,7 @@ 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")
command = "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" + str(ch) + ".txt -r 48000 > /dev/null 2>&1"
print("after command assignment") print("after command assignment")
system(command) system(command)
print("for loop1") print("for loop1")

Loading…
Cancel
Save

Powered by TurnKey Linux.