Update transmit.py don't do anything with pacsatsim.service

pacsat-v2.2-tlm3
Alan Johnston 4 weeks ago committed by GitHub
parent 3577400f79
commit 4738ca2550
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save

Powered by TurnKey Linux.