Table of Contents

Method WriteMotor1OperationModeAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

WriteMotor1OperationModeAsync(MotorOperationMode, CancellationToken)

Asynchronously writes a value to the Motor1OperationMode register.

public Task WriteMotor1OperationModeAsync(MotorOperationMode value, CancellationToken cancellationToken = default)

Parameters

value MotorOperationMode

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.