|
Re: Encoder Doesn't Reset to Zero
How are you displaying the current encoder value?
This sounds like a common display bug where the line isn't cleared before printing a new number.
If an output contains '217' and '0' is printed without clearing the line, then you'd get '017'.
There are a few ways to fix this (if it is the problem): Clear the line before writing a number, or append spaces to the number that you are printing.
By appending spaces before printing, '217' and '0 ' would be seen as '0' instead of '017'
|