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.h
- Revision:
- 1:28c022f61c0b
- Parent:
- 0:19efa3fea668
--- a/PushDuration.h Fri May 20 15:05:10 2016 +0000 +++ b/PushDuration.h Fri May 20 15:13:45 2016 +0000 @@ -1,5 +1,7 @@ -/* PushDuration Library by Jens Strümper -*/ +/** + * PushDuration Library by Jens Strümper. For questions or suggestions on how to improve the + * library please contact me via email: jens.struemper@gmail.com +**/ #ifndef __PUSHDURATION_H_INCLUDED__ #define __PUSHDURATION_H_INCLUDED__