|
|
|
@ -556,15 +556,18 @@ if __name__ == "__main__":
|
|
|
|
print("0")
|
|
|
|
print("0")
|
|
|
|
|
|
|
|
|
|
|
|
while (True):
|
|
|
|
while (True):
|
|
|
|
sleep(0.1)
|
|
|
|
if (txc):
|
|
|
|
while (input(ptt) != 0):
|
|
|
|
sleep(0.1)
|
|
|
|
sleep(0.2)
|
|
|
|
while (input(ptt) != 0):
|
|
|
|
output(txLed, 1)
|
|
|
|
sleep(0.2)
|
|
|
|
print("1")
|
|
|
|
output(txLed, 1)
|
|
|
|
while (input(ptt) != 1):
|
|
|
|
print("1")
|
|
|
|
sleep(0.2)
|
|
|
|
while (input(ptt) != 1):
|
|
|
|
output(txLed, 0)
|
|
|
|
sleep(0.2)
|
|
|
|
print("0")
|
|
|
|
output(txLed, 0)
|
|
|
|
|
|
|
|
print("0")
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
sleep(10)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
print("Transmit APRS Commands")
|
|
|
|
print("Transmit APRS Commands")
|
|
|
|
system("sudo systemctl stop command")
|
|
|
|
system("sudo systemctl stop command")
|
|
|
|
|