N20 Motor Rotary Encoder Counting Problem

I will do when I get back to home