From 3e237da6935a1d6d8c707b0f43fb78b6d8143efd Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 5 Jul 2026 11:10:26 -0400 Subject: [PATCH] Update transmit.py change carrier calc --- transmit.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/transmit.py b/transmit.py index 01586a64..2bb7f7b1 100644 --- a/transmit.py +++ b/transmit.py @@ -620,9 +620,13 @@ def cw_transmit_char(character): def transmit_carrier(duration): global tx_doppler_freq_hz global txLed - command = "timeout " + str(duration) + " sudo tune -f " + str(tx_doppler_freq_hz) + " > /dev/null 2>&1" # 434.9e6 +# 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 killall -9 tune" output(txLed, 1) - system(command) + system(start) + sleep(duration) + system(stop) output(txLed, 0) print("CubeSatSim v2.2 transmit.py starting...")