PushDuration maps n callback functions to the duration of a button press. E.g. foo() is called when a button is released after 1 second where bar() is called after 3 seconds.

Auto generated API documentation and code listings for PushDuration

Code

PushDuration.cpp [code]
PushDuration.h [code]