~~~~~~~~~~~~~~~~~~~~~~~~~~~ ==
titanium bicycle for button RU
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ==

library Arduino IDE for button, buttons, matrix buttons.

in the context of the library it is implied:
button             - a pair of electrical contacts.
button not pressed - state of button 0.
button     pressed - state of button 1.

The library formalizes the derivatives of the state of the button
by time to a all-sufficient list of variables.

- state of the                                     button
- state of the inactivity timer of the not pressed button
- state of the inactivity timer of the     pressed button
- event of the releasing        of the             button
- event of the click            of the             button
- event of the double-click     of the             button
- event of the inactivity       of the not pressed button
- event of the inactivity       of the     pressed button
- event of the short press      of the             button
- event of the long  press      of the             button

download
code
README
Wiki