Table of Contents

Method WriteExpansionBoardAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

WriteExpansionBoardAsync(ExpansionBoardType, CancellationToken)

Asynchronously writes a value to the ExpansionBoard register.

public Task WriteExpansionBoardAsync(ExpansionBoardType value, CancellationToken cancellationToken = default)

Parameters

value ExpansionBoardType

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.