Implementation of the debouncing logic on Arduino

Anti-bounce or debouncing logic prevents the detection of parasitic changes of state of a sensor. When using sensors returning discrete states, such as a push button, it can happen, for mechanical or other reasons, that changes of state are detected that do not correspond to what we want to detect. We can improve the reliability … Continue reading Implementation of the debouncing logic on Arduino