I2C Plugin for Xojo

Adapter.ReadBlock Method (console safe)

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

ReadBlock(
   command as UInt8) as String

Parameters

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

Returns

String
The read block.

Remarks

This function throws I2CException if there is error.

See Also

Adapter Class