ESP32Encoder
ESP32Encoder copied to clipboard
How to sense encoder direction?
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.