On page 250, the example to make the generic quadrature encoder, the function in the example is:
QUADRATURE quad1 = MAKE_QUADRATURE(B4, B5, FALSE, 32, FALSE);
(in my case I'm using K0, K1, and 1368 pulses per revolution). This won't compile (it says "invalid initializer"). But:
QUADRATURE quad1 = MAKE_GENERIC_QUADRATURE(K0,K1,false,1368,false);
does. Is there a function called MAKE_QUADRATURE and I'm just using it wrong, or is it a typo in the manual?
MIKE