From 4622013992c15e0696eab944fa5470c555e08e4d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 30 Jul 2023 17:10:37 -0400 Subject: [PATCH] transmit aprs when turned on again aprs --- rpitx.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rpitx.py b/rpitx.py index 0cdc8039..13a784bc 100644 --- a/rpitx.py +++ b/rpitx.py @@ -194,8 +194,9 @@ if __name__ == "__main__": output (ptt, 1) # output(pd, 0) output(txLed, txLedOff) + system("sudo rm /home/pi/CubeSatSim/ready") f.close() - system("sudo rm /home/pi/CubeSatSim/ready") + if (debug_mode == 1): print("Ready for next packet!") @@ -207,9 +208,9 @@ if __name__ == "__main__": if (command_tx == True): print("Turning on transmit") system("echo > command_tx True") - output(txLed, txLedOn) - sleep(0.5) - output(txLed, txLedff) +# output(txLed, txLedOn) +# sleep(0.5) +# output(txLed, txLedff) else: print("Turning off transmit") system("echo > command_tx False")