Hello,
I am working on a project that uses an encoder to measure angular position. The encoder in use is an ERCK series incremental encoder which is the TTL 5 V version. I used a code to test and make sure the encoder is giving the ideal output, which with this test it was. However, when I implement it into the code for the whole thing, it doesn't show any output whatsoever, and I'm not fully certain how to fix this. Attached below is the code I used to test the encoder and the overall code that I implemented that piece of code into. Any advice/help would be greatly appreciated.