mathertel / OneButton

An Arduino library for using a single button for multiple purpose input.
http://www.mathertel.de/Arduino/OneButtonLibrary.aspx
Other
920 stars 230 forks source link

Debouncing in one point. #118

Closed IhorNehrutsa closed 1 year ago

IhorNehrutsa commented 1 year ago

Move debouncing algorithm from the finite state machine(FSM) to the upper level. This allows to simplify FSM.