|
|
|
@ -482,12 +482,12 @@ if __name__ == "__main__":
|
|
|
|
f = open("/home/pi/CubeSatSim/cwready")
|
|
|
|
f = open("/home/pi/CubeSatSim/cwready")
|
|
|
|
f.close()
|
|
|
|
f.close()
|
|
|
|
system("sudo rm /home/pi/CubeSatSim/cwready")
|
|
|
|
system("sudo rm /home/pi/CubeSatSim/cwready")
|
|
|
|
ch = 1
|
|
|
|
## ch = 1
|
|
|
|
for chan in range(7):
|
|
|
|
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"
|
|
|
|
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)
|
|
|
|
print(command)
|
|
|
|
system(command)
|
|
|
|
system(command)
|
|
|
|
chan = chan + 1
|
|
|
|
## chan = chan + 1
|
|
|
|
if (command_tx == True):
|
|
|
|
if (command_tx == True):
|
|
|
|
output(txLed, txLedOn)
|
|
|
|
output(txLed, txLedOn)
|
|
|
|
output (pd, 1)
|
|
|
|
output (pd, 1)
|
|
|
|
|