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