Table of Contents

Method WritePwmDutyCycleDO2Async

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

WritePwmDutyCycleDO2Async(byte, CancellationToken)

Asynchronously writes a value to the PwmDutyCycleDO2 register.

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