Update transmit.py only do PacSat txLED if not safe mode

master-b-p-s
Alan Johnston 2 weeks ago committed by GitHub
parent e046477303
commit 04b2b7be84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save

Powered by TurnKey Linux.