rusEFI
The most advanced open source ECU
|
Generic button debounce class https://en.wikipedia.org/wiki/Switch#Contact_bounce If we don't 'debounce' our button inputs, we may mistakenly read a single button press as multiple events.
Definition in file debounce.h.
Data Structures | |
class | ButtonDebounce |
Functions | |
void | initButtonDebounce () |
void initButtonDebounce | ( | ) |
Referenced by commonInitEngineController(), and ButtonDebounce::stopConfiguration().