reset

public void reset()

This resets the Encoder's position and the current and previous position in the code.