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.
Diff: PushDuration.cpp
- Revision:
- 1:28c022f61c0b
- Parent:
- 0:19efa3fea668
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.