I2C Plugin for Xojo

Adapter.ReadMemoryBlock Method (console safe)

Runs an SMBus “Block read” transaction, using MemoryBlock.

ReadMemoryBlock(
   command as UInt8) as MemoryBlock

Parameters

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

Returns

MemoryBlock
The read block.

Remarks

This function throws I2CException if there is error.

See Also

Adapter Class