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
valueEncoderSamplingRateConfigThe 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.