Create change_mode.py

fc-sub
Alan Johnston 9 months ago committed by GitHub
parent cf16565ca4
commit ce5a9a3d61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,18 @@
#!/usr/bin/env python
import time
from time import sleep
#import os
import sys
if __name__ == "__main__":
if (len(sys.argv)) > 1:
# print("There are arguments!")
if (('d' == sys.argv[1]) or ('-d' in sys.argv[1])):
debug_mode = 1
elif (('x' == sys.argv[1]) or ('-x' in sys.argv[1])):
mode = "x"
print("Forcing APRS mode")
elif (('s' == sys.argv[1]) or ('-s' in sys.argv[1])):
skip = True
print("Skipping delay and CW ID")
Loading…
Cancel
Save

Powered by TurnKey Linux.