Hi there,

When you are turning the rotary encoder slower you get good results:

Reason : Your loop has enough time to "PAUSE" or "LCDOUT" and does not miss pulse.

When you are turning the encoder faster:

It is missing pulses while you are doing other tasks. It is always reliable to use an asm interrupt. No other way out perhaps.

Regards

Sougata