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") 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")

Loading…
Cancel
Save

Powered by TurnKey Linux.