Method WriteMotor3OperationModeAsync
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
WriteMotor3OperationModeAsync(MotorOperationMode, CancellationToken)
Asynchronously writes a value to the Motor3OperationMode register.
public Task WriteMotor3OperationModeAsync(MotorOperationMode value, CancellationToken cancellationToken = default)
Parameters
value
MotorOperationModeThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.