De-Bouncing of Digital Inputs in FlexLogger

Updated Oct 16, 2019

Reported In

Software

  • FlexLogger

Issue Details

I would like to have some de-bouncing for some of the digital inputs due to the fact they are mechanical switches. 
Is this what the Glitch filter is for? How can this be used effectively and what are the limitations?
 

Solution

Yes, the glitch filter in FlexLogger can be used for de-bouncing. When enabled, the glitch filter sets a pulse width cutoff - after which the pulses will be counted. The minimum value of this cutoff is 0.08 µs.