Table of Contents

Method ReadPwmDutyCycleDO2Async

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadPwmDutyCycleDO2Async(CancellationToken)

Asynchronously reads the contents of the PwmDutyCycleDO2 register.

public Task<byte> ReadPwmDutyCycleDO2Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<byte>

A task that represents the asynchronous read operation. The Result property contains the register payload.