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