Example for working with a rotary encoder?

@amirgon Posted the project to:
My projects

I have following design problem:
When turning the rotary encoder the alarm setting has to be updated. But a display update via “lv.scr_load(scr)” takes 50…120ms. During that time the main loop of the program pauses and the rotary encoder has missing steps, it still works but it’s not a satisfying behavior. Will it improve when registering it as an input device? I’ll read the docs and claim help if I don’t succed.

best regards,
Peter