Table of Contents

Method ReadServo0PulseWidthAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadServo0PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Servo0PulseWidth register.

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