From b97921b71fbd117c41650b5252fe94dbf87b5f6a Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 6 Feb 2022 13:12:39 -0500 Subject: [PATCH] added extra GPIO.setmode(GPIO.BCM) for Tx LED on Pi 4 --- rpitx.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index bbf8ca30..e7ccaa9b 100644 --- a/rpitx.py +++ b/rpitx.py @@ -78,7 +78,8 @@ if __name__ == "__main__": if (debug_mode == 1): 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 + sleep(1) output(txLed, txLedOn) if (debug_mode == 1):