added vhf flag

pull/144/head
alanbjohnston 4 years ago committed by GitHub
parent 2f790421d5
commit 83ced445ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,6 +16,8 @@ GPIO.setup(12, GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.setup(27, GPIO.IN, pull_up_down=GPIO.PUD_UP)
transmit = False
uhf = True
if GPIO.input(12) == False:
print("Version is v1 with UHF BPF")
transmit = True
@ -30,8 +32,9 @@ elif GPIO.input(27) == False:
txLedOff = 1
elif GPIO.input(13) == False:
print("Version is v1 with VHF BPF")
print("VHF transmit not implemented yet")
# transmit = True
# print("VHF transmit not implemented yet")
transmit = True
vhf = False
txLed = 27
txLedOn = 1
txLedOff = 0

Loading…
Cancel
Save

Powered by TurnKey Linux.