Table of Contents

Method WriteSoundIndexDI2Async

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

WriteSoundIndexDI2Async(byte, CancellationToken)

Asynchronously writes a value to the SoundIndexDI2 register.

public Task WriteSoundIndexDI2Async(byte value, CancellationToken cancellationToken = default)

Parameters

value byte

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.