also added GPIO.setup(txLed, GPIO.OUT) again

pull/138/head
alanbjohnston 4 years ago committed by GitHub
parent bf99f10dd0
commit 40d17c87fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save

Powered by TurnKey Linux.