tag:blogger.com,1999:blog-5854741938955568545.post1433076986197227521..comments2024-03-26T01:53:19.600-07:00Comments on ElectricRCAircraftGuy.com--RC, Arduino, Programming, & Electronics: eRCaGuy_ButtonReader Library for Arduino - Debounce and read the current button state, & most recent action ("just pressed" or "just released") easily!Gabriel Stapleshttp://www.blogger.com/profile/10071071884455787806noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5854741938955568545.post-41670401222292798842016-09-02T18:07:29.836-07:002016-09-02T18:07:29.836-07:00Your comment that you deleted said: "I would ...Your comment that you deleted said: "I would like some advice in using your button library. I like this library a lot but i think i may have an issue for my application. I have 3 buttons that will trigger low, but i have one that triggers high. in looking at the code for your library it seems as though this will be in conflict, is this correct? if not, how can i implement this library using both a high button pressed and a low button pressed option in a single sketch? "<br /><br />My answer is: yes, my library works fine for this. Simply call:<br /><br />myButton.setPinStateWhenButtonPressed(LOW)<br />OR<br />myButton.setPinStateWhenButtonPressed(HIGH)<br /><br />to set whether you want the button to be considered to be pressed when the pin state is LOW or HIGH.Gabriel Stapleshttps://www.blogger.com/profile/10071071884455787806noreply@blogger.comtag:blogger.com,1999:blog-5854741938955568545.post-60454867885900013922016-08-29T23:41:33.206-07:002016-08-29T23:41:33.206-07:00This comment has been removed by the author.Yosunclehttps://www.blogger.com/profile/15365355460365097441noreply@blogger.comtag:blogger.com,1999:blog-5854741938955568545.post-61514136012167458342015-08-08T07:04:24.649-07:002015-08-08T07:04:24.649-07:00Hope this helps you... https://github.com/arduino/...Hope this helps you... https://github.com/arduino/Arduino/wiki/Library-Manager-FAQOsquihttps://www.blogger.com/profile/15711246400408343032noreply@blogger.comtag:blogger.com,1999:blog-5854741938955568545.post-23910770965430999262015-08-07T11:32:22.694-07:002015-08-07T11:32:22.694-07:00Hi thanks for the suggestion. I'll have to loo...Hi thanks for the suggestion. I'll have to look into it. At the moment, I don't know how to add it to the library manager as an option.Gabriel Stapleshttps://www.blogger.com/profile/10071071884455787806noreply@blogger.comtag:blogger.com,1999:blog-5854741938955568545.post-40736957266199161262015-08-07T09:04:10.793-07:002015-08-07T09:04:10.793-07:00Could you add this library to Arduino's Librar...Could you add this library to Arduino's Library Manager? This would give more visibility to your work. ThanksOsquihttps://www.blogger.com/profile/15711246400408343032noreply@blogger.com