EasyButton icon indicating copy to clipboard operation
EasyButton copied to clipboard

Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.

Results 32 EasyButton issues
Sort by recently updated
recently updated
newest added

For the example of Interrupts, namely, the code in EasyButton\examples\Interrupts, I must add some time consuming code or a delay in loop(), such as: ![image](https://github.com/evert-arias/EasyButton/assets/29191854/5c849f1d-4bb2-4f97-9bb6-ee166ebeac1f) The code can avoid the...

Hello. First of all, thank you for your great job with this library. I have been using this library on my project but now it throws a compilation error since...

PR for correct onPressedFor for first pressed, based on my comment. https://github.com/evert-arias/EasyButton/pull/58#issuecomment-1686863685

I had an issue with a noise on the pin and wanted to implement a simple low-pass filter. This simple change waits for the input pin value to be stable...

When using interrupts the MCU will randomly hang and/or reset. Probably this is due to the global variables accessed by the read() function are not declared as volatile.

Hello, I wanted to try the vButton function on a button connected to an MCP23017 I/O Expander and. The MCP23017 is connected to an atmega328p. Unfortunately, no matter what I...

I need some help and are not sure if I am doing this correctly. I am trying to use 2 buttons with different callbacks for the onPressed defined for each...

hi i created array of EasyButton objects button[] and i initialize them in for loop and it works fine but when i try to update their state by button[i].read() its...

Added setPin() function to allow GPIO to be set/changed after creating an EasyButton Instant. It must be set/changed before calling start().

As soon as I add the code to attach the callbacks. it breaks and the LED doesn't light up. The only conceptual difference between the SinglePress example and my code...