Good day to all of you in this forum.
I used an optical encoder in the past with pbp and I had good result.
Now I have a mechanical encoder similar to the ky40 or ky-040 that is widely available on the net.
I am not able to make it working correctly and still having bad results.
I did filtered the A and B signals with two 0.1uf and 10k resistors pull_up: no solution up to now.
Any help on the this matter please ? Or any sample code available ?
Thanks
Ambrogio