klangner / klangner/sam3x

Implementd on_click function in Button driver

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.