Table of Contents

Method WriteDirectionAsync

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

WriteDirectionAsync(DirectionState, CancellationToken)

Asynchronously writes a value to the Direction register.

public Task WriteDirectionAsync(DirectionState value, CancellationToken cancellationToken = default)

Parameters

value DirectionState

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.