Table of Contents

Method ReadMotor1StepIntervalAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadMotor1StepIntervalAsync(CancellationToken)

Asynchronously reads the contents of the Motor1StepInterval register.

public Task<ushort> ReadMotor1StepIntervalAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

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