Table of Contents

Method ReadAccumulatedStepsAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadAccumulatedStepsAsync(CancellationToken)

Asynchronously reads the contents of the AccumulatedSteps register.

public Task<AccumulatedStepsPayload> ReadAccumulatedStepsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AccumulatedStepsPayload>

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