Table of Contents

Method WriteServo2PulseWidthAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

WriteServo2PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Servo2PulseWidth register.

public Task WriteServo2PulseWidthAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.