Bmm150I2c.ReadBytes(I2cDevice, Byte, Span<Byte>) Method

Definition

Read a byte array

public override void ReadBytes (System.Device.I2c.I2cDevice i2cDevice, byte reg, Span<byte> readBytes);
override this.ReadBytes : System.Device.I2c.I2cDevice * byte * Span<byte> -> unit
Public Overrides Sub ReadBytes (i2cDevice As I2cDevice, reg As Byte, readBytes As Span(Of Byte))

Parameters

i2cDevice
I2cDevice

An I2C device

reg
Byte

>The register to read

readBytes
Span<Byte>

A span of bytes with the read values

Applies to