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