Table of Contents

Method ReadAuxDigitalOutputStateAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadAuxDigitalOutputStateAsync(CancellationToken)

Asynchronously reads the contents of the AuxDigitalOutputState register.

public Task<AuxDigitalOutputs> ReadAuxDigitalOutputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AuxDigitalOutputs>

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