ESP32Encoder icon indicating copy to clipboard operation
ESP32Encoder copied to clipboard

How to sense encoder direction?

Open stevempotter opened this issue 9 months ago • 1 comments

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.

stevempotter avatar Jan 14 '25 15:01 stevempotter