Skip to content

How to use poll command with timeout & edge value? #16

@LeMoussel

Description

@LeMoussel

I test gpio-utils on a Raspberry PI 3.
It's Ok for read/write command but I can't use the poll command.
I do this

gpio --config ./raspberrypi.toml poll GPIO07

I got this error

Error setting edge on pin: Io(Error { repr: Os { code: 5, message: "Input/output error" } })

And if I do

gpio --config ./raspberrypi.toml poll GPIO07 both

I got this

error: Found argument 'both' which wasn't expected, or isn't valid in this context

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