Skip to content

How to sense encoder direction? #119

Open
@stevempotter

Description

@stevempotter

I don't see a method or flag in this library that indicates the direction of a rotary optical encoder using full quad encoding. Do I have to monitor the change in counts and do math to figure this out? I would have expected that the direction can be determined by PCNT for every single pair of pulses, no? In my application, rotation direction changes a lot and is important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions