Table of Contents

Method ReadMotor2MoveRelativeAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadMotor2MoveRelativeAsync(CancellationToken)

Asynchronously reads the contents of the Motor2MoveRelative register.

public Task<int> ReadMotor2MoveRelativeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<int>

A task that represents the asynchronous read operation. The Result property contains the register payload.