Library for detecting button clicks, doubleclicks and long press pattern on a single button. Updated to use Callback class when mbed lib >= 122 is used. Then also member functions can be used as callbacks.
Fork of OneButton by
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
3:48a593e2d4cf | 2016-09-22 | JojoS | reverted to original state machine behaviour by mh. This works better for detecting click / double click events. |
2:26960fb1d783 | 2016-09-22 | JojoS | with mbed lib >=122, the Callback class is used. For older libs it is compatible with older functions. With Callback class also member functions can be used. |
1:fdf67f893a5c | 2016-09-01 | jaup | frist commit |
0:62d614796022 | 2016-08-31 | jaup | event-driven button driver |