reduced APRS delay at the start, increase CW sleep

pull/101/head
alanbjohnston 5 years ago committed by GitHub
parent b855403b33
commit 84785b77e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -66,7 +66,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")
time.sleep(6);
time.sleep(8);
GPIO.output(txLed, txLedOff)
time.sleep(2)
@ -81,7 +81,7 @@ if __name__ == "__main__":
# print("There are arguments!")
if (mode == 'a'):
print("AFSK")
time.sleep(4)
# time.sleep(4)
for x in range(5):
GPIO.output(txLed, txLedOn)
system("sudo gen_packets -o /home/pi/CubeSatSim/telem.wav /home/pi/CubeSatSim/t.txt -r 48000 > /dev/null 2>&1 && cat /home/pi/CubeSatSim/telem.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 > /dev/null 2>&1")

Loading…
Cancel
Save

Powered by TurnKey Linux.