I2cDevice.Write(ReadOnlySpan<Byte>) Method

Definition

Writes data to the I2C device.

public abstract void Write (ReadOnlySpan<byte> buffer);
abstract member Write : ReadOnlySpan<byte> -> unit
Public MustOverride Sub Write (buffer As ReadOnlySpan(Of Byte))

Parameters

buffer
ReadOnlySpan<Byte>

The buffer that contains the data to be written to the I2C device. The data should not include the I2C device address.

Applies to