mathertel / OneButton

An Arduino library for using a single button for multiple purpose input.
http://www.mathertel.de/Arduino/OneButtonLibrary.aspx
Other
954 stars 230 forks source link

Add attachIdle and setIdleMs #131

Closed bjrnptrsn closed 10 months ago

bjrnptrsn commented 12 months ago

Adding new StateEvent: attachIdle Idle is detected after 1000 ms, change with: setIdleMs

mathertel commented 10 months ago

Thanks for the contribution.