makes more sense to have this as debug

This commit is contained in:
petrucci4prez 2017-06-13 02:49:36 -04:00
parent f936233244
commit bdd9874946
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def lowPassFilter(pin, targetVal, period=0.001):
return GPIO.input(pin) == targetVal
def _initGPIO(name, pin, GPIOEvent, callback):
logger.info('setting up \"%s\" on pin %s', name, pin)
logger.debug('starting \"%s\" on pin %s', name, pin)
GPIO.setup(pin, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.add_event_detect(pin, GPIOEvent, callback=callback, bouncetime=500)