Update squelch_cc.py set powerPin mode

pull/323/head
Alan Johnston 1 year ago committed by GitHub
parent 047ee2e215
commit 19d21393b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -165,7 +165,9 @@ def increment_mode():
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
squelch = 6
powerPin = 16
GPIO.setup(squelch, GPIO.IN, pull_up_down=GPIO.PUD_UP) ## pull up in case pin is not connected
GPIO.setup(powerPin, GPIO.OUT)
while True:
command_control_check()

Loading…
Cancel
Save

Powered by TurnKey Linux.