Skip to content

reversing direction skips position update in rotaryio.IncrementalEncoder  #3875

Open
@nmorse

Description

@nmorse

encoder.position does not change (first tick is not recorded) when reversing direction.

I have found encoder.position to accurately report while consistently incrementing or decrementing (clockwise or counterclockwise), but it does not report the first tick when changing direction.

Similarly, if the user toggles back and forth between two adjacent (tick) positions, no change is ever reported by encoder.position.

Hardware setup: this guide
MPU Feather nRF52840 Express (running circuitpython 6.0.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions