Method WritePwm2TriggerSourceAsync
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
WritePwm2TriggerSourceAsync(TriggerSource, CancellationToken)
Asynchronously writes a value to the Pwm2TriggerSource register.
public Task WritePwm2TriggerSourceAsync(TriggerSource value, CancellationToken cancellationToken = default)
Parameters
value
TriggerSourceThe 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.