Table of Contents

Method ReadDO2ThresholdAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

ReadDO2ThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO2Threshold register.

public Task<short> ReadDO2ThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<short>

A task that represents the asynchronous read operation. The Result property contains the register payload.