I get an unknown count value in a register between 6 and 2, how can I mirror this count?
cnt=6 |cnt=5 ------------- 543210|43210| ccw 012345|01234| cw
I think max count minus current count? But how to keep on track? Result of ccw and cw must be both directions counting down from max to 0.