Jaa


II2cDeviceProvider.WritePartial(Byte[]) Method

Definition

Writes data to the inter-integrated circuit (I2 C) bus on which the device is connected, and returns information about the success of the operation that you can use for error handling.

public:
 ProviderI2cTransferResult WritePartial(Platform::Array <byte> ^ buffer);
ProviderI2cTransferResult WritePartial(winrt::array_view <byte> const& buffer);
public ProviderI2cTransferResult WritePartial(byte[] buffer);
function writePartial(buffer)
Public Function WritePartial (buffer As Byte()) As ProviderI2cTransferResult

Parameters

buffer

Byte[]

byte[]

A buffer that contains the data that you want to write to the I2 C device. This data should not include the bus address.

Returns

A structure that contains information about the success of the write operation and the actual number of bytes that the operation wrote into the buffer.

Applies to