II2cDeviceProvider.Read(Byte[]) Method

Definition

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

public:
 void Read(Platform::Array <byte> ^ buffer);
void Read(winrt::array_view <byte> & buffer);
public void Read(byte[] buffer);
function read(buffer)
Public Sub Read (buffer As Byte())

Parameters

buffer

Byte[]

byte[]

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.

Applies to