Table of Contents

Method WriteLed0MaxCurrentAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

WriteLed0MaxCurrentAsync(byte, CancellationToken)

Asynchronously writes a value to the Led0MaxCurrent register.

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