Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 929 Bytes

i2cdevice_read_1437850332.md

File metadata and controls

36 lines (24 loc) · 929 Bytes
-api-id -api-type
M:Windows.Devices.I2c.I2cDevice.Read(System.Byte[])
winrt method

Windows.Devices.I2c.I2cDevice.Read

-description

Reads data from the inter-integrated circuit (I2 C) bus on which the device is connected into the specified buffer.

-parameters

-param buffer

The buffer to which you want to read the data from the I2 C bus. The length of the buffer determines how much data to request from the device.

-remarks

Error Codes

0x80070002

The bus address was not acknowledged.

0x8007045D

The I2 C device negatively acknowledged the data transfer before the entire buffer was read.

-examples

-see-also

ReadPartial, Write, WriteRead

-capabilities

lowLevel