resetEncoder

Resets the encoder.