Table of Contents

Method WritePulseDOPort2Async

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

WritePulseDOPort2Async(ushort, CancellationToken)

Asynchronously writes a value to the PulseDOPort2 register.

public Task WritePulseDOPort2Async(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

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.