added tx LED on during CW ID

pull/51/head
alanbjohnston 6 years ago committed by GitHub
parent 656857e0b7
commit 2cd50f587a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,7 +31,9 @@ file = open("/home/pi/CubeSatSim/sim.cfg")
callsign = file.readline().split(" ")[0]
print(callsign)
GPIO.output(txLed, txLedOn);
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")
GPIO.output(txLed, txLedOff);
time.sleep(2)

Loading…
Cancel
Save

Powered by TurnKey Linux.