Table of Contents

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

value EncodersPayload

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.