Method WriteEnableMotorDriverAsync
- Namespace
- Harp.SyringePump
- Assembly
- Harp.SyringePump.dll
WriteEnableMotorDriverAsync(EnableFlag, CancellationToken)
Asynchronously writes a value to the EnableMotorDriver register.
public Task WriteEnableMotorDriverAsync(EnableFlag value, CancellationToken cancellationToken = default)
Parameters
valueEnableFlagThe value to be stored in the register.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.