Table of Contents

Method WriteDO0PulseWidthAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

WriteDO0PulseWidthAsync(byte, CancellationToken)

Asynchronously writes a value to the DO0PulseWidth register.

public Task WriteDO0PulseWidthAsync(byte value, CancellationToken cancellationToken = default)

Parameters

value byte

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.