Method WriteMotor2StepIntervalAsync
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
WriteMotor2StepIntervalAsync(ushort, CancellationToken)
Asynchronously writes a value to the Motor2StepInterval register.
public Task WriteMotor2StepIntervalAsync(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe 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.