Update rpitx.py remove chan++ and ch

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

@ -482,12 +482,12 @@ if __name__ == "__main__":
f = open("/home/pi/CubeSatSim/cwready")
f.close()
system("sudo rm /home/pi/CubeSatSim/cwready")
ch = 1
## ch = 1
for chan in range(7):
command = "gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + str(chan) + ".txt -r 48000 > /dev/null 2>&1"
print(command)
system(command)
chan = chan + 1
## chan = chan + 1
if (command_tx == True):
output(txLed, txLedOn)
output (pd, 1)

Loading…
Cancel
Save

Powered by TurnKey Linux.