setHome

fun setHome()

Set the home position (position = 0) of the motor to its current position. Useful in conjunction with a homing touch sensor.