Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question, not issue or complaint #45

Open
chornbe opened this issue Jul 2, 2019 · 1 comment
Open

Question, not issue or complaint #45

chornbe opened this issue Jul 2, 2019 · 1 comment

Comments

@chornbe
Copy link

chornbe commented Jul 2, 2019

Hi. Is there an event model for this, or do we loop / state machine it for reading multiple inputs?

Thanks!

@drahoslove
Copy link
Collaborator

drahoslove commented Aug 3, 2019

Hi.
There is "partial" event support.

You can use DetectEdge to register for the falling/rising edge event, but you still have to manually check if the event occurred by calling EdgeDetected

See the doc and the example for more info.

And also this issue #21 with some reasoning why it's slightly better than regular polling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants