Add library to read buttons
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Design:
Add Abstract class: ButtonAction <- SpecificButtonAction
- Contains an abstract "handle_button_press" function
Add function to register a Button action on a specific button
Add function that detects button presses every x ms and executes corresponding button actions.
Steps:
- [ ] Design
- [ ] Code
- [ ] unit tests
- [ ] Add documentation:
- [ ] Hardware design
- [ ] Software design
Use Bounce myButton = Bounce(2, 10); // pushbutton on pin 2
Example here:https://github.com/pfeerick/elapsedMillis/wiki
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the requested ButtonAction abstraction, button registration, polling interval, and the referenced Bounce example for Arduino. Define the hardware and software designs, implement the library, add unit tests, and complete the requested hardware and software documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, cpp
- Domain
- embedded-iot, robotics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100