Skip to content

Missing first step going forward #2

@jaseiffert

Description

@jaseiffert

Hi, I'm having a minor problem when going forward but for some reason going backwards it corrects itself.

On 0, go to 1, shows 0, go to 2, shows 1, go to 30, shows 29, go to 60 shows 59.
59, go to 50, shows 50, go to 40, shows 40, go to 20 shows 20, go to 0 shows 0.

I'm using one of the 5v 60mm Hand Wheel Pulse Encoder on pins 32 and 33 of my ESP32 DevKitC V4.
It says 5 volts but 3.3v seems to be working fine except that first step.

I put a Serial print in the Interrupt function to display the word "tick" and it does that, actually about 4 of them, when going from 0 to 1 on the hand wheel but the position shows 0.

I'm using your Interrupt Example code.

Any help would be most appreciated.

Thanks,

Jeffery

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