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

Revisions of MultiClick.h

Revision Date Message Actions
0:9c5c674dcaea 2016-06-10 first commit. File  Diff  Annotate