Table of Contents

Method WriteEnableEncodersAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

WriteEnableEncodersAsync(QuadratureEncoders, CancellationToken)

Asynchronously writes a value to the EnableEncoders register.

public Task WriteEnableEncodersAsync(QuadratureEncoders value, CancellationToken cancellationToken = default)

Parameters

value QuadratureEncoders

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.