resetZeroPosition abstract method
Set the current position (modified by offset
) to be the new zero (home) position.
// Set the current position as the new home position with no offset.
await myMotor.resetZeroPosition(0.0);
For more information, see Motor component.
Implementation
Future<void> resetZeroPosition(double offset, {Map<String, dynamic>? extra});