Skip to content

How to do monitor for an event on more than one input? #18

Open
@sdc-andy

Description

@sdc-andy

How do you extend the gpioevents.rs example to handle multiple input pins using event handlers?

EDIT: To clarify, I don't really want to have to follow the poll methodology in monitor.rs as polling IO pins is inefficient and prone to missing changes in IO state.

-Andy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions