You can use multiple clicks event with one button. This library supports follow events, Single click, Double click, over 3 times click, Long press.

Dependents:   multiclick_test

Download repository: zip gz

Files at revision 7:7d56935ba84d

Name Size Actions
[up]
MultiClick.cpp 4977 Revisions Annotate
MultiClick.h 2416 Revisions Annotate