Table of Contents

Method ReadServoMotor2PeriodAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadServoMotor2PeriodAsync(CancellationToken)

Asynchronously reads the contents of the ServoMotor2Period register.

public Task<ushort> ReadServoMotor2PeriodAsync(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.