I2C Plugin for Xojo

Adapter.ProcessMemoryBlockCall Method (console safe)

Runs an SMBus “Block write, block read process call” transaction, using MemoryBlock.

ProcessMemoryBlockCall(
   command as UInt8,
   value as MemoryBlock) as MemoryBlock

Parameters

command
Command to send to the device when reading the byte.
value
Value to send.

Returns

MemoryBlock
Result value.

Remarks

This function throws I2CException if there is error.

See Also

Adapter Class