From c237a616ec3c31c8f6c014c91c6be9ca5d92ceb8 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 31 Jul 2023 11:48:00 -0400 Subject: [PATCH] fixed gpio typo --- rpitx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index 913a517c..043184e9 100644 --- a/rpitx.py +++ b/rpitx.py @@ -25,7 +25,7 @@ GPIO.setup(13, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.setup(12, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.setup(27, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.setup(7, GPIO.IN, pull_up_down=GPIO.PUD_UP) -GPIO.setup(green, GPIO.IN, INPUT) +GPIO.setup(green, GPIO.OUT) GPIO.setup(squelch, GPIO.IN)