Replies: 1 comment
-
@warp929 I will check this out. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I have tried a few different ways of getting 1,2 and 3 button presses to respond exclusively. Meaning you only get one of the results. Effectively, a single button press would need to wait for a timeout before it shows up as a single button press. My latest test code is initializing 3 sequences:
` button.onSequence(1, 2000, onSequenceMatched1);
button.onSequence(2, 2000, onSequenceMatched2);
button.onSequence(3, 2000, onSequenceMatched3);
`
Based on your Sequence example, a triple button press results in:
single pressed
single pressed
double pressed
single pressed
triple pressed
I would like the response to only be "triple pressed"
Is there a way to accomplish this with the EasyButton library?
Here is somebody else asking the same question:
https://forum.arduino.cc/t/easybutton-double-click-problem/639430/2
Beta Was this translation helpful? Give feedback.
All reactions