Table of Contents

Method ReadDO0PulseWidthAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

ReadDO0PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the DO0PulseWidth register.

public Task<byte> ReadDO0PulseWidthAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<byte>

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