From 9851df457a568a3a4aaa6e26e95a24c106218e03 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 14 Jun 2021 16:33:18 -0400 Subject: [PATCH] added sleep in CW ID --- rpitx.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rpitx.py b/rpitx.py index 080afff1..15f99941 100644 --- a/rpitx.py +++ b/rpitx.py @@ -65,6 +65,7 @@ print(callsign) GPIO.output(txLed, txLedOn); system("echo 'de " + callsign + "' > id.txt && gen_packets -M 20 /home/pi/CubeSatSim/id.txt -o /home/pi/CubeSatSim/morse.wav -r 48000 > /dev/null 2>&1 && cat /home/pi/CubeSatSim/morse.wav | csdr convert_i16_f | csdr gain_ff 7000 | csdr convert_f_samplerf 20833 | sudo /home/pi/rpitx/rpitx -i- -m RF -f 434.9e3") #GPIO.output(27, 0); +time.sleep(2); GPIO.output(txLed, txLedOff); time.sleep(2)