Edit product


eRCaGuy_ButtonReader (downloadable Arduino library)

Recommended donation: $2 for home use; $50+ for business use under the included copy-left, open-source GNU GPLV3 or later license. Contact me for other license options.

Enter a donation amount, or $0, above. Donations are greatly appreciated. 

License: open-source GNU GPLV3 or later license. Commercial (closed-source, proprietary) licenses sold at request. Contact me if desired.

Q: Can you sell free software? A: Read here.

When you try to read a button with your Arduino code, do you struggle to get it to register each single press as only *one* press, not a bunch of rapid presses in a row? Or, have you ever struggled to toggle a function on or off with each new button press (and release), rather than only doing A while the button is held down, and B while the button is not being held down? If you've struggled with these things, this library is for you!

This is an Arduino library used to read a button or switch in such a way that you can easily implement toggled actions and momentary actions, know the true, debounced state of a button or switch at any given time, and specify whether you want an action to take place when the button is *pressed* or *released.*

For more info see here: http://www.electricrcaircraftguy.com/2014/05/ercaguybuttonreader-library-for-arduino.html

Your donations brighten my day, help support my family, and keep me working on projects!

If you're not completely satisfied, I have a 30 day money-back guarantee.

You've purchased this product

See it in your library

View in Library
Sorry, this item is not available in your location.
Sold out, please go back and pick another option.

Name a fair price:

  • Required SoftwareArduino IDE
  • Required HardwareAny Arduino board
  • LicenseGPLV3 or later (contact me if you'd like to purchase an alternate license)


eRCaGuy_ButtonReader (downloadable Arduino library)

Enter your info to complete your purchase


···· ···· ···· 4242
Test card



Use a different card?


pp paypal

or pay with

We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

or pay with

Your purchase was successful!

We charged your card and sent you a receipt

    Gumroad Library

    Download from the App Store or text yourself a link to the app

    Thanks for your support. Use the share buttons below to spread the word!

    License: GPLV3 or later

    Github repository link: https://github.com/ElectricRCAircraftGuy/eRCaGuy_ButtonReader

    Other libraries: https://gumroad.com/gabrielstaples

    Good news! Since you already have a Gumroad account, it's also been added to your library.

    Powered by Gumroad