Table of Contents

Method ReadServo1PulseWidthAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadServo1PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Servo1PulseWidth register.

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