From c264be655552b9e1e8d51b65a5c714ff837c1f7e Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 15 Aug 2020 10:20:46 -0400 Subject: [PATCH] Turned on Blue Tx LED for SSTV bash call --- rpitx.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rpitx.py b/rpitx.py index 4b45a87d..1db4dbb2 100644 --- a/rpitx.py +++ b/rpitx.py @@ -51,6 +51,7 @@ if __name__ == "__main__": time.sleep(5) elif (('s' == sys.argv[1]) or ('sstv' in sys.argv[1])): print("SSTV") + GPIO.output(txLed, txLedOn); os.system("(while true; do (sleep 5 && cat /home/pi/CubeSatSim/wav/sstv.wav); done) | csdr convert_i16_f | csdr gain_ff 7000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f 434.9e3") # while True: # GPIO.output(txLed, txLedOff);