Table of Contents

Method ReadLed1PowerAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadLed1PowerAsync(CancellationToken)

Asynchronously reads the contents of the Led1Power register.

public Task<byte> ReadLed1PowerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<byte>

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