Table of Contents

Method ReadLed0PowerAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadLed0PowerAsync(CancellationToken)

Asynchronously reads the contents of the Led0Power register.

public Task<byte> ReadLed0PowerAsync(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.