added extra GPIO.setmode(GPIO.BCM) for Tx LED on Pi 4

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.