Method WriteDO1ThresholdAsync
- Namespace
- Harp.AnalogInput
- Assembly
- Harp.AnalogInput.dll
WriteDO1ThresholdAsync(short, CancellationToken)
Asynchronously writes a value to the DO1Threshold register.
public Task WriteDO1ThresholdAsync(short value, CancellationToken cancellationToken = default)
Parameters
value
shortThe 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.