Hi,
I'm trying to move a servo (with an encoder strip stuck on it) and at the same time I want an encoder reader to count and show in real time the counts on a LCD screen 16x2. This starts to happen when I press the button 'start'. The problem is when the servo is moving, the encoder reader does not count anything or the counting is not correct. Everything has separately proven to work correctly.
Find attached the code,
Thank you!
code.txt (1.23 KB)