Update transmit.py fix variable with dash

master-bt
Alan Johnston 6 days ago committed by GitHub
parent b90b1c42a1
commit 89797c88c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1002,7 +1002,7 @@ if __name__ == "__main__":
print("Starting PacSatSim")
output(txLed, 0)
print("0")
rpitx-ui = "arecord -D plughw:CARD=Loopback,DEV=1 -f S16_LE -r 48000 -c 1 | csdr convert_s16_f | csdr gain_ff 4000 | csdr convert_f_samplerf 20833 | sudo rpitx-ui -i- -m RF -f " + tx + "e3 > /dev/null 2>&1 &"
rpitx = "arecord -D plughw:CARD=Loopback,DEV=1 -f S16_LE -r 48000 -c 1 | csdr convert_s16_f | csdr gain_ff 4000 | csdr convert_f_samplerf 20833 | sudo rpitx-ui -i- -m RF -f " + tx + "e3 > /dev/null 2>&1 &"
stop_rpitx = "sudo killall -9 rpitx-ui && sudo killall -9 arecord && sudo rpitx-ui -m RF -f 434.9e3 > /dev/null 2>&1"
if not txc:
print("txc is:")

Loading…
Cancel
Save

Powered by TurnKey Linux.