|
|
|
@ -269,7 +269,8 @@ if __name__ == "__main__":
|
|
|
|
# sleep(0.5)
|
|
|
|
# sleep(0.5)
|
|
|
|
# output(txLed, txLedff)
|
|
|
|
# output(txLed, txLedff)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
print("Turning off transmit") system("echo > command_tx F
|
|
|
|
print("Turning off transmit")
|
|
|
|
|
|
|
|
system("echo > command_tx F
|
|
|
|
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")
|
|
|
|
|