From 7efc2b05bdf1314ca2c6e44c1cd47b9a6d7644c4 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 8 Feb 2022 16:02:25 -0500 Subject: [PATCH] minimal changes needed for Tx to work on Pi 4 --- rpitx.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/rpitx.py b/rpitx.py index c48e4a05..80ef89e8 100644 --- a/rpitx.py +++ b/rpitx.py @@ -44,15 +44,10 @@ else: # GPIO.setup(txLed, GPIO.OUT) # output(txLed, txLedOff) -GPIO.setmode(GPIO.BCM) +GPIO.setmode(GPIO.BCM) # Repeat to make LED work on Pi 4 GPIO.setwarnings(False) - GPIO.setup(txLed, GPIO.OUT) -output(txLed, txLedOn) -sleep(1) -output(txLed, txLedOff) -sleep(1) output(txLed, txLedOn) sleep(1) output(txLed, txLedOff)