Debounce & Glitch filter not working. Added a software version of glitch filter: 'pio_sw_filter_read_pin'.