4 ms·
I wonder if some amount of hysteresis would be helpful to avoid switching back and forth on the edge.
by RicoElectrico 4y ago
I wonder if some amount of hysteresis would be helpful to avoid switching back and forth on the edge.
- ChrisLomont 4y agoButton debouncing is useful for all sorts of stuff like this, but it requires much trickier code to get right, including tracking some form of history.