Update rpitx.py reduce blink time in FSK/BPSK modes

beta-sim
Alan Johnston 2 years ago committed by GitHub
parent cd86e1f45f
commit 00a361e590
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -728,7 +728,7 @@ if __name__ == "__main__":
print("Turning LED on/off and listening for carrier") print("Turning LED on/off and listening for carrier")
while 1: while 1:
output(txLed, txLedOff) output(txLed, txLedOff)
sleep(0.5) sleep(0.4)
# if (command_tx == False): # if (command_tx == False):
# output(txLed, txLedOn) # output(txLed, txLedOn)
# sleep(0.03) # sleep(0.03)
@ -737,7 +737,7 @@ if __name__ == "__main__":
if (command_tx == True): if (command_tx == True):
output(txLed, txLedOn) output(txLed, txLedOn)
sleep(4.0) sleep(4.2)
else: else:
print("FSK") print("FSK")
print("turn on FM rx") print("turn on FM rx")
@ -748,7 +748,7 @@ if __name__ == "__main__":
print("Turning LED on/off and listening for carrier") print("Turning LED on/off and listening for carrier")
while 1: while 1:
output(txLed, txLedOff) output(txLed, txLedOff)
sleep(0.5) sleep(0.4)
# if (command_tx == False): # if (command_tx == False):
# output(txLed, txLedOn) # output(txLed, txLedOn)
# sleep(0.03) # sleep(0.03)
@ -756,7 +756,7 @@ if __name__ == "__main__":
command_control_check() command_control_check()
if (command_tx == True): if (command_tx == True):
output(txLed, txLedOn) output(txLed, txLedOn)
sleep(4.0) sleep(4.2)
else: else:
print("No Low Pass Filter so no telemetry transmit. See http://cubesatsim.org/wiki for instructions on how to build the BPF.") print("No Low Pass Filter so no telemetry transmit. See http://cubesatsim.org/wiki for instructions on how to build the BPF.")
while 1: while 1:

Loading…
Cancel
Save

Powered by TurnKey Linux.