Table of Contents

Method WriteLed1CurrentAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

WriteLed1CurrentAsync(byte, CancellationToken)

Asynchronously writes a value to the Led1Current register.

public Task WriteLed1CurrentAsync(byte value, CancellationToken cancellationToken = default)

Parameters

value byte

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.