Table of Contents

Method ReadEnableLedAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadEnableLedAsync(CancellationToken)

Asynchronously reads the contents of the EnableLed register.

public Task<LedState> ReadEnableLedAsync(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.