|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|
|