From 68cbe07e24a58ceb953b652524784ec8adef7391 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 22 Feb 2025 14:24:31 -0500 Subject: [PATCH] Update transmit.py remove power pin from e --- transmit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transmit.py b/transmit.py index 6220d9dc..3e297eae 100644 --- a/transmit.py +++ b/transmit.py @@ -805,9 +805,9 @@ if __name__ == "__main__": output(ptt, 1) GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi 4 GPIO.setup(txLed, GPIO.OUT) - GPIO.setup(powerPin, GPIO.OUT) +# 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 +# GPIO.output(powerPin, 1) # was 0 while True: sleep(0.5) if (GPIO.input(squelch) == False):