|
Re: Defective Encoder? Or other Issue?
Is it possible that the distance is toggling between 0 and -0.5 on every tick? This would indicate that one of the encoder outputs is not working / being read. Do you have a scope? Another option is to read the two values as digital inputs to eliminate the encoder class.
|