Table of Contents

Method ReadDigitalInputTriggerAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadDigitalInputTriggerAsync(CancellationToken)

Asynchronously reads the contents of the DigitalInputTrigger register.

public Task<DigitalInputTriggerPayload> ReadDigitalInputTriggerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<DigitalInputTriggerPayload>

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