From dff7fde57e3c9f8ac1575eeb93e2c39e3e3c644f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 22 Feb 2025 15:51:21 -0500 Subject: [PATCH] Update transmit.py crossband -290 MHz --- transmit.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/transmit.py b/transmit.py index 59ebd1c7..2c40a9bc 100644 --- a/transmit.py +++ b/transmit.py @@ -797,7 +797,7 @@ if __name__ == "__main__": # else: sleep(0.6) elif (mode == 'e'): # code based on https://zr6aic.blogspot.com/2016/11/creating-2m-fm-repeater-with-raspberry.html - print("Repeater") + print("Cross Band Repeater") print("Stopping command and control") system("sudo systemctl stop command") print("turn on FM rx") @@ -808,6 +808,8 @@ if __name__ == "__main__": # GPIO.setup(powerPin, GPIO.OUT) GPIO.setup(squelch, GPIO.IN, pull_up_down=GPIO.PUD_UP) ## pull up in case pin is not connected # GPIO.output(powerPin, 1) # was 0 + tx = rx - 290 + print("Transmit frequency: ",tx) while True: sleep(0.5) if (GPIO.input(squelch) == False):