Update transmit.py start and stop pacsatsim.service

pacsat-v2.2-tlm
Alan Johnston 2 months ago committed by GitHub
parent 9302ac01b9
commit 65cd80f7f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -245,6 +245,7 @@ if __name__ == "__main__":
print("Can't open .mode file, defaulting to FSK")
print("Mode is: ")
print(mode)
system("sudo systemctl stop pacsatsim")
try:
file = open("/home/pi/CubeSatSim/beacon_off")
@ -428,6 +429,7 @@ if __name__ == "__main__":
print("Pacsat Ground Station")
else:
print("Pacsat")
system("sudo systemctl restart pacsatsim")
# txPin = 27
pttPin = 20

Loading…
Cancel
Save

Powered by TurnKey Linux.