From 888507c4e7aea1f9dc313903034f05e123bb5f75 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 21 Jul 2020 05:26:40 -0400 Subject: [PATCH] switched to rpitx master and removed timeout for cw id --- rpitx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index 329a47d7..bbfecbc4 100644 --- a/rpitx.py +++ b/rpitx.py @@ -22,7 +22,7 @@ file = open("/home/pi/CubeSatSim/sim.cfg") callsign = file.readline().split(" ")[0] print(callsign) -os.system("echo 'de " + callsign + "' > id.txt && gen_packets -M 20 id.txt -o morse.wav -r 48000 > /dev/null 2>&1 && cat morse.wav | csdr convert_i16_f | csdr gain_ff 7000 | csdr convert_f_samplerf 20833 | sudo timeout -k 1 15 /home/pi/rpitx/rpitx -i- -m RF -f 434.9e3") +os.system("echo 'de " + callsign + "' > id.txt && gen_packets -M 20 id.txt -o morse.wav -r 48000 > /dev/null 2>&1 && cat 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") time.sleep(2)