Table of Contents

Method ReadEnableServosAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadEnableServosAsync(CancellationToken)

Asynchronously reads the contents of the EnableServos register.

public Task<ServoOutputs> ReadEnableServosAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ServoOutputs>

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