Table of Contents

Method ReadLed1CurrentAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadLed1CurrentAsync(CancellationToken)

Asynchronously reads the contents of the Led1Current register.

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