Table of Contents

Method ReadEncoderResetAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadEncoderResetAsync(CancellationToken)

Asynchronously reads the contents of the EncoderReset register.

public Task<EncoderInputs> ReadEncoderResetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<EncoderInputs>

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