Hello everyone,
I have been trying to integrate the PJRC Encoder class inside my own motor control class library, but I've been having some troubles, probably related to interrupts or volatile variables or atomic access of multi-byte variables or something like that. This is with stock Arduino...