Table of Contents

Method ReadLed0CurrentAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadLed0CurrentAsync(CancellationToken)

Asynchronously reads the contents of the Led0Current register.

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