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