Quote:
Originally Posted by beefy1
well, but what happened if I change the direction, will the Get function give me the duplication of ticks or maybe the distance it passed? 
|
Get Encoder does not get "ticks". It reads the number of counts from it's initialization/last reset. As the encoder turns in its forward direction it increases the encoder counts, as it turns in its reverse direction it decreases the encoder counts (even going negative).
I am not sure if GetPeriod will return a negative encoder period or not.