diff --git a/squelch_cc.py b/squelch_cc.py index 0c766daf..b5487e1c 100644 --- a/squelch_cc.py +++ b/squelch_cc.py @@ -164,5 +164,7 @@ def increment_mode(): GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) +GPIO.setup(squelch, GPIO.IN, pull_up_down=GPIO.PUD_UP) ## pull up in case pin is not connected + while True: command_control_check()