Update rpitx.py reenable transmit

pull/317/head
Alan Johnston 2 years ago committed by GitHub
parent 6e323d1ec6
commit e33d9fe62c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -81,7 +81,7 @@ def increment_mode():
file.close()
print("Mode is: ")
print(mode)
if (mode == 'a'):
if (mode == ):
mode = 'f'
GPIO.output(powerPin, 0) # blink two times
sleep(0.1)
@ -149,7 +149,7 @@ def increment_mode():
GPIO.output(powerPin, 1)
sleep(2.5)
else:
mode = 'a'
mode =
GPIO.output(powerPin, 0) # blink one time
sleep(0.1)
GPIO.output(powerPin, 1)
@ -392,7 +392,7 @@ if __name__ == "__main__":
command_control_check()
# if (mode != 'a') and (command_tx == True):
# if (mode != ) and (command_tx == True):
# if (command_tx == True):
if (mode != 'm'):
# battery_saver_mode
@ -431,8 +431,8 @@ if __name__ == "__main__":
output(pd, 1)
output(ptt, 1)
print("AFSK")
while True:
sleep(0.1)
# while True:
# sleep(0.1)
while True:
try:
f = open("/home/pi/CubeSatSim/ready")

Loading…
Cancel
Save

Powered by TurnKey Linux.