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