Method ReadResetEncodersAsync
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
ReadResetEncodersAsync(CancellationToken)
Asynchronously reads the contents of the ResetEncoders register.
public Task<QuadratureEncoders> ReadResetEncodersAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<QuadratureEncoders>
A task that represents the asynchronous read operation. The Result property contains the register payload.