8 years, 4 months ago.

"X4_ENCODING" is undefined

I am trying to use the X4_Encoding with the QEI library, but if I give any value to the 5th optional parameter, I get a compiler error saying that the 5th parameter is not defined in the API. Any solution to this?

Question relating to:

1 Answer

8 years, 4 months ago.

Try like this:

QEI encoder (CH_A, CH_B, NC, N_ENC, QEI::X4_ENCODING);