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