Table of Contents

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 EncoderSamplingRateConfig

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.