While using our shaft encoders at a competition they for some reason failed to read anything for our code. We decided to use another code and they began working but only for other codes. Does anyone know what may be causing this strange error and how to fix it? My last idea is retyping the entire code and I really don’t want to do that if I don’t have to.
Can you post your code (inside
[code]...[/code] tags) including robot-config.cpp and main program.
My guess is that your 3-wire ports are not configured correctly.