Table of Contents

Method WriteOutputToggleAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

WriteOutputToggleAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the OutputToggle register.

public Task WriteOutputToggleAsync(DigitalOutputs value, CancellationToken cancellationToken = default)

Parameters

value DigitalOutputs

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.