Table of Contents

Method WriteEnablePowerAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

WriteEnablePowerAsync(LedState, CancellationToken)

Asynchronously writes a value to the EnablePower register.

public Task WriteEnablePowerAsync(LedState value, CancellationToken cancellationToken = default)

Parameters

value LedState

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.