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
History
reverted to original state machine behaviour by mh. This works better for detecting click / double click events.
2016-09-22, by JojoS [Thu, 22 Sep 2016 21:46:37 +0000] rev 3
reverted to original state machine behaviour by mh. This works better for detecting click / double click events.
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.
2016-09-22, by JojoS [Thu, 22 Sep 2016 20:36:52 +0000] rev 2
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.
frist commit
2016-09-01, by jaup [Thu, 01 Sep 2016 09:21:00 +0000] rev 1
frist commit
event-driven button driver
2016-08-31, by jaup [Wed, 31 Aug 2016 10:09:43 +0000] rev 0
event-driven button driver