Table of Contents

Method ReadMotor1MinPositionAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadMotor1MinPositionAsync(CancellationToken)

Asynchronously reads the contents of the Motor1MinPosition register.

public Task<int> ReadMotor1MinPositionAsync(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.