Table of Contents

Method WriteEnableDriverAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

WriteEnableDriverAsync(StepperMotors, CancellationToken)

Asynchronously writes a value to the EnableDriver register.

public Task WriteEnableDriverAsync(StepperMotors value, CancellationToken cancellationToken = default)

Parameters

value StepperMotors

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.