Table of Contents

Method ReadEnableLedModeAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadEnableLedModeAsync(CancellationToken)

Asynchronously reads the contents of the EnableLedMode register.

public Task<LedState> ReadEnableLedModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<LedState>

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