Method WritePwm0PulseCountAsync
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
WritePwm0PulseCountAsync(ushort, CancellationToken)
Asynchronously writes a value to the Pwm0PulseCount register.
public Task WritePwm0PulseCountAsync(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.