ClickButton library - detecting double clicks etc
i thought time try , head around oo stuff (again), admittedly i'm more of spaghetti coder
anyway, extended on debounce example , made function in sketch, turned out kinda ok. thought have go , make library out of it.
i think this not way of using resources on arduino 1 button? made more practice oo (even though i've dabbled in before, little im afraid).
the library detecting clicks on 1 button. of course several instances can made more buttons, it's not made lot of buttons in mind. figure maybe useful skethes needs things single clicks, double clicks or maybe triple clicks. can determine whether or not button held down after of number of clicks. details on project homepage:
http://code.google.com/p/clickbutton/
comments , suggestions improvements (not feature requests (but try listen), more in sense of library writing) welcome.
anyway, extended on debounce example , made function in sketch, turned out kinda ok. thought have go , make library out of it.i think this not way of using resources on arduino 1 button? made more practice oo (even though i've dabbled in before, little im afraid).
the library detecting clicks on 1 button. of course several instances can made more buttons, it's not made lot of buttons in mind. figure maybe useful skethes needs things single clicks, double clicks or maybe triple clicks. can determine whether or not button held down after of number of clicks. details on project homepage:
http://code.google.com/p/clickbutton/
comments , suggestions improvements (not feature requests (but try listen), more in sense of library writing) welcome.
Arduino Forum > Forum 2005-2010 (read only) > Software > Development > ClickButton library - detecting double clicks etc
arduino
Comments
Post a Comment