Table of Contents

Method WriteMotor1MaxPositionAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

WriteMotor1MaxPositionAsync(int, CancellationToken)

Asynchronously writes a value to the Motor1MaxPosition register.

public Task WriteMotor1MaxPositionAsync(int value, CancellationToken cancellationToken = default)

Parameters

value int

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.