Method WriteEnableProtocolAsync
- Namespace
- Harp.SyringePump
- Assembly
- Harp.SyringePump.dll
WriteEnableProtocolAsync(EnableFlag, CancellationToken)
Asynchronously writes a value to the EnableProtocol register.
public Task WriteEnableProtocolAsync(EnableFlag value, CancellationToken cancellationToken = default)
Parameters
value
EnableFlagThe 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.