Implementd on_click function in Button driver
Open
- Dominant language
- Rust
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
This function takes closure which will be called once the button state changes to pressed state.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the Button driver and read how it tracks transitions into the pressed state. Implement the on_click behavior so the supplied closure is called once when that state change occurs. Confirm that the callback is not repeatedly invoked while the button remains pressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100