I2CDevice.TryWriteRead(Byte[], Byte[]) | tryWriteRead(Byte[], Byte[]) method
TBD
Syntax
var result = i2cDevice.tryWriteRead(writeBuffer);
var readBuffer = result.readBuffer;
var i2cTransferStatus = result.i2cTransferStatus;
public I2CTransferStatus TryWriteRead(
byte[] writeBuffer,
out byte[] readBuffer
)
Public Function TryWriteRead(
writeBuffer As Byte(),
<OutAttribute> readBuffer As Byte()
) As I2CTransferStatus
public:
I2CTransferStatus TryWriteRead(
Array<unsigned char>^ writeBuffer,
Array<unsigned char>^ readBuffer
)
Parameters
writeBuffer
Type: array of Number [JavaScript] | System.Byte[] [.NET] | Platform::Array<uint8> [C++]readBuffer (out parameter)
Type: array of Number [JavaScript] | System.Byte[] [.NET] | Platform::Array<uint8> [C++]
Return value
Requirements
Minimum supported client |
Windows 10 Technical Preview |
Minimum supported server |
Windows Server Technical Preview |
Minimum supported phone |
Windows 10 Technical Preview for phones |
Namespace |
Windows.Devices.I2C Windows::Devices::I2C [C++] |
Metadata |
Windows.winmd |