II2cDeviceProvider.Read(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.