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