Table of Contents

Method ReadPwm2FrequencyAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadPwm2FrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Pwm2Frequency register.

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