They may have different settings for initializing the quadrature encoder interface. Or maybe that's not the problem at all. I don't know why it's not working with my code. Maybe there's an issue with the swap ab inputs, or something. YOu coudl try to change:
QEICONbits.SWPAB = 0; // don't swap QEA and QEB inputs.
Change that to SWPAB = 1 instead?
|