Debounce noisy gpio inputs.