Update rpitx.py adde extra GPIO for -b and -f

beta-extra-2
Alan Johnston 1 year ago committed by GitHub
parent 4b0ba7d664
commit e579f76f8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -800,6 +800,8 @@ if __name__ == "__main__":
# command_control_check()
if (command_tx == True):
GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi 4
GPIO.setup(txLed, GPIO.OUT)
output(txLed, txLedOn)
print(txLed)
print(txLedOn)
@ -849,6 +851,8 @@ if __name__ == "__main__":
# output(txLed, txLedOff)
# command_control_check()
if (command_tx == True):
GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi 4
GPIO.setup(txLed, GPIO.OUT)
output(txLed, txLedOn)
print(txLed)
print(txLedOn)

Loading…
Cancel
Save

Powered by TurnKey Linux.