Update transmit.py add CW ID print

master-ff
Alan Johnston 6 months ago committed by GitHub
parent e87e841a8f
commit 05006455ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -388,7 +388,8 @@ if __name__ == "__main__":
if (((mode == 'a') or (mode == 'b') or (mode == 'f') or (mode == 's') or (mode == 'j')) and (command_tx == True) and (skip == False)) or ((mode == 'e') and (command_tx == True)): # battery_saver_mode
GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4
GPIO.setup(txLed, GPIO.OUT)
output(txLed, txLedOn)
output(txLed, txLedOn)
print("Transmit CW ID")
if (no_command):
if (debug_mode == 1):
system("echo 'hi hi 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 " + tx + "e3")

Loading…
Cancel
Save

Powered by TurnKey Linux.