Table of Contents

Method ReadStepRelativeAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadStepRelativeAsync(CancellationToken)

Asynchronously reads the contents of the StepRelative register.

public Task<StepRelativePayload> ReadStepRelativeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<StepRelativePayload>

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