fixed version wording

pull/132/head
alanbjohnston 5 years ago committed by GitHub
parent 352415cd70
commit e437d83c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,20 +17,20 @@ GPIO.setup(27, GPIO.IN, pull_up_down=GPIO.PUD_UP)
transmit = False transmit = False
if GPIO.input(12) == False: if GPIO.input(12) == False:
print("vB5 or Later") print("Version is v1 with UHF BPF")
transmit = True transmit = True
txLed = 27 txLed = 27
txLedOn = 1 txLedOn = 1
txLedOff = 0 txLedOff = 0
elif GPIO.input(27) == False: elif GPIO.input(27) == False:
print("TFB") print("Version is TFB")
transmit = True transmit = True
txLed = 22 txLed = 22
txLedOn = 0 txLedOn = 0
txLedOff = 1 txLedOff = 1
elif GPIO.input(13) == False: elif GPIO.input(13) == False:
print("UHF vB5 or Later") print("Version is v1 with VHF BPF")
print("UHF transmit not implemented yet") print("VHF transmit not implemented yet")
# transmit = True # transmit = True
txLed = 27 txLed = 27
txLedOn = 1 txLedOn = 1

Loading…
Cancel
Save

Powered by TurnKey Linux.