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