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
ExpansionBoardTypeThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.