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