From 40d17c87fbf1f8d3ec717b995c3da7b73cd052d1 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 6 Feb 2022 15:36:44 -0500 Subject: [PATCH] also added GPIO.setup(txLed, GPIO.OUT) again --- rpitx.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rpitx.py b/rpitx.py index 48f98ac9..57c52a96 100644 --- a/rpitx.py +++ b/rpitx.py @@ -79,6 +79,7 @@ if __name__ == "__main__": print("Can't read callsign from sim.cfg file, defaulting to AMSAT") print(callsign) GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi 4 + GPIO.setup(txLed, GPIO.OUT) sleep(1) output(txLed, txLedOn)