ButtonGestures
Use a single push button for up to 6 different functions! Button gesture combinations of single, double, and triple-tap along with a long or short hold on the last press make it easy! Functions can also be pre-registered for callback for the gesture that you want. Even easier! (by ripred)
MyButton_Arduino
A push button debouncing and "enhancing" library for complex user interfaces. (by Rad-hi)
ButtonGestures | MyButton_Arduino | |
---|---|---|
6 | 2 | |
9 | 9 | |
- | - | |
6.9 | 0.0 | |
3 months ago | about 2 years ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ButtonGestures
Posts with mentions or reviews of ButtonGestures.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-13.
-
Understanding external interrupt logic level change for debouncing
If you're looking for the ultimate in flexibility witha single button check out my Arduino ButtonGesture Library in the IDE's library manager (ctrl/cmd) shift I. It let's you use single, double, and triple presses, along with combinations of short or long hold on the last press to allow up to 6 different functions to be called using a single button. Great for playback/record devices and for single button menu navigation, among other things.
-
Simple solution to button library?
Try this one. https://github.com/ripred/ButtonGestures
-
I just got my first two libraries accepted into Arduino's Official Library Collection!
ButtonGestures allows you to get multiple uses out of a single pushbutton. You can set it up to call one of several functions based on \how** you press the button. You can have it cal one function for a "short" button press for example and a different function if you hold it down for a "long" press.
Button Gestures and TomServo! They both need example schematics and directions for use and that is ongoing. I'd love any feedback if you find them useful or think of something that could be improved. And of course contributions from anyone who sees a sharp edge that needs sanding down are more than welcome! 😏
-
Button Gestures Library
The ButtonGestures Library will allow you to use a single push button to invoke one of 6 different functions based on combinations of single, double, and triple press, with short and long hold patterns. i.e. button gestures.
- Two functions of one button, depends on for how long you hold it pushed down...
MyButton_Arduino
Posts with mentions or reviews of MyButton_Arduino.
We have used some of these posts to build our list of alternatives
and similar projects.
-
MyButton [Arduino library, v1.0.2] has a multiple buttons example now .. Details in comment !
Example link: https://github.com/Rad-hi/MyButton_Arduino/tree/master/examples/SSD1306_multiple_buttons
- Created an Arduino Lib that allows for this, in a couple of lines of code, and more with buttons
What are some alternatives?
When comparing ButtonGestures and MyButton_Arduino you can also consider the following projects:
Mimic - Desktop Robotic Arm Toy
AceButton - An adjustable, compact, event-driven button library for Arduino that debounces and dispatches events to a user-defined event handler.
TomServo - Sophisticated Servo Power Management for the Discriminating User
OneButton - An Arduino library for using a single button for multiple purpose input.
ArduinoJson - 📟 JSON library for Arduino and embedded C++. Simple and efficient.
JC_Button - Arduino library to debounce button switches, detect presses, releases, and long presses
Bugtton - Fast button debounce library for ATmega328P, uses registers.