changed DigitalInWatcher, added debounce