LCD compatibility

Try this encoder library - GitHub - enjoyneering/RotaryEncoder: This is small and fast Arduino library for Rotary Encoder with interrupts.