Update rpitx.py chan and channel

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

@ -519,9 +519,10 @@ if __name__ == "__main__":
channel = 1 channel = 1
print(channel) print(channel)
for chan in range(7): for chan in range(7):
print(channel)
print(chan) print(chan)
system("gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + channel + ".txt -r 48000 > /dev/null 2>&1") system("gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + channel + ".txt -r 48000 > /dev/null 2>&1")
# channel += 1 channel = channel + 1
# print("Sending cw1.txt") # print("Sending cw1.txt")
# system("cat /home/pi/CubeSatSim/cw1.txt") # system("cat /home/pi/CubeSatSim/cw1.txt")

Loading…
Cancel
Save

Powered by TurnKey Linux.