Good Rotary Encoder code

Hello, do yourself a favour and please read How to get the best out of this forum and modify your post accordingly (including code tags).

——-

I would recommend this encoder library