Hi everyone,
We’re currently experiencing some problems with the hex thorough-bore encoder from REV. We’re running a CIM on the SPARK MAX in brushed mode, and we’re initializing it as a CANEncoder in code.
The problem:
Whenever the encoder is spun, it rapidly flashes a sensor fault on the spark max, but stops whenever it stops spinning. Sometimes it just stays in sensor fault mode, and won’t turn off until we turn off the robot, and unplug the cable.
What we’ve tried:
We’ve tried using two different encoder wires and two different encoders, I’ve looked at the code examples for the encoder, and it doesn’t seem to indicate that there should be any difference in the code.
Any help would be greatly appreciated.
Thanks in advance,
EDIT:
Thank you to Will Toth and Jacob_C for their help in solving the problem (As well as identifying a new one)!
Michael