|
|
|
@ -271,7 +271,8 @@ if __name__ == "__main__":
|
|
|
|
# output(txLed, txLedff)
|
|
|
|
# output(txLed, txLedff)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
print("Turning off transmit")
|
|
|
|
print("Turning off transmit")
|
|
|
|
system("echo > command_tx False")
|
|
|
|
system("echo > command_tx False")
|
|
|
|
|
|
|
|
sleep(5)
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
f = open("/home/pi/CubeSatSim/cwready")
|
|
|
|
f = open("/home/pi/CubeSatSim/cwready")
|
|
|
|
system("gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw.txt -r 48000 > /dev/null 2>&1")
|
|
|
|
system("gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw.txt -r 48000 > /dev/null 2>&1")
|
|
|
|
|