Table of Contents

Method ReadPwm0DutyCycleAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadPwm0DutyCycleAsync(CancellationToken)

Asynchronously reads the contents of the Pwm0DutyCycle register.

public Task<float> ReadPwm0DutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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