Resets the position of the encoder to 0
rotation rot = rotation(PORT1); Encoder enc = Encoder(rot); enc.resetPosition();