Update transmit.py update_doppler every dit

master-bf-test
Alan Johnston 2 weeks ago committed by GitHub
parent f991f3c44d
commit 1433bd09ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -606,7 +606,7 @@ def cw_transmit_string(string):
def cw_transmit_char(character):
global morse_timing
update_doppler("no")
# update_doppler("no")
i = 0
duration = morse_table[(ord(character.upper()) - ord('0')) % 44][i] * morse_timing
print(duration)
@ -620,6 +620,7 @@ def cw_transmit_char(character):
def transmit_carrier(duration):
global tx_doppler_freq_hz
global txLed
update_doppler("no")
command = "timeout " + str(duration) + " sudo tune -f " + str(tx_doppler_freq_hz) + " > /dev/null 2>&1" # 434.9e6
start = "sudo tune -f " + str(tx_doppler_freq_hz) + " &" # + " & > /dev/null 2>&1" # 434.9e6
stop = "sudo rpitx -f 434.9e6 &"

Loading…
Cancel
Save

Powered by TurnKey Linux.