Mpu6500.ReadByteFromSlaveDevice Method

Definition

Read data from any of the I2C slave attached to the MPU9250

C#
public void ReadByteFromSlaveDevice (Iot.Device.Imu.I2cChannel i2cChannel, byte address, byte register, Span<byte> readBytes);

Parameters

i2cChannel
I2cChannel

The slave channel to attached to the I2C device

address
Byte

The I2C address of the slave I2C element

register
Byte

The register to read from the slave I2C element

readBytes
Span<Byte>

The read data

Applies to

Toode Versioonid
.NET IoT Libraries 1.1.0, 1.2.0, 1.3.0, 1.4.0