Update rpitx.py change check and BPF to LPF

beta-extra-3
Alan Johnston 1 year ago committed by GitHub
parent 592dcd5a75
commit ab3d7815db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -157,30 +157,15 @@ GPIO.setup(green, GPIO.OUT)
GPIO.output(powerPin, 1)
transmit = False
if GPIO.input(12) == False:
print("Version is v1 with UHF BPF")
transmit = True
txLed = 27
txLedOn = 1
txLedOff = 0
elif GPIO.input(27) == False:
print("Version is TFB")
if GPIO.input(12) == False:
print("Version is v1 with UHF LPF")
transmit = True
txLed = 22
txLedOn = 0
txLedOff = 1
elif GPIO.input(13) == False:
print("Version is v1 with VHF BPF")
print("VHF transmit not imemented yet")
# transmit = True
txLed = 27
txLedOn = 1
txLedOff = 0
else:
print("No BPF")
txLed = 27
txLedOn = 1
txLedOff = 0
print("No LPF")
# GPIO.setup(txLed, GPIO.OUT)
# output(txLed, txLedOff)

Loading…
Cancel
Save

Powered by TurnKey Linux.