Update transmit.py added mode P for Pacsat Gnd Station

pacsat-1
Alan Johnston 1 year ago committed by GitHub
parent ccc5c4ff97
commit 042670a231
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -415,7 +415,7 @@ if __name__ == "__main__":
# if (len(sys.argv)) > 1:
# print("There are arguments!")
if (mode == 'a') or (mode == 'x') or (mode == 'n') or (mode == 'p'):
if (mode == 'a') or (mode == 'x') or (mode == 'n') or (mode == 'p') or (mode == 'P':
# command_control_check()
output(pd, 1)
output(ptt, 1)
@ -424,6 +424,10 @@ if __name__ == "__main__":
elif (mode == 'p'):
print("Pacsat")
system('/home/pi/CubeSatSim/pacsatsim.sh')
elif (mode == 'p'):
print("Pacsat Ground Station")
while True:
sleep(30)
else:
GPIO.output(powerPin, 0)
print("Transmit APRS Commands")

Loading…
Cancel
Save

Powered by TurnKey Linux.