Table of Contents

Method ReadPulseModeAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadPulseModeAsync(CancellationToken)

Asynchronously reads the contents of the PulseMode register.

public Task<PulseModePayload> ReadPulseModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<PulseModePayload>

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