Table of Contents

Method WriteLed0PwmDutyCycleAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

WriteLed0PwmDutyCycleAsync(float, CancellationToken)

Asynchronously writes a value to the Led0PwmDutyCycle register.

public Task WriteLed0PwmDutyCycleAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

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.