Table of Contents

Method WriteDigitalOutputToggleAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

WriteDigitalOutputToggleAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the DigitalOutputToggle register.

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