Signal Input/Output

TN_SwitchState

A library to manage switch state transitions.

Small library to manage switch state transitions. Detect single press/hold/release, double press/hold/release, long press/hold/release and toggle action (OFF/Rise/Rising/ON/Fall/Falling).

Go to repository

This library is compatible with all architectures so you should be able to use it on all the Arduino boards.