Table of Contents

Method ReadPwm0FrequencyAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadPwm0FrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Pwm0Frequency register.

public Task<float> ReadPwm0FrequencyAsync(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.