You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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