I2C Plugin for Xojo

Adapter.WriteBlock Method (console safe)

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

WriteBlock(
   command as UInt8,
   value as String)

Parameters

command
The command to send.
value
The block to write. (Block must be minimum 1 characters and maximum 32 characters)

Remarks

This function throws I2CException if there is error.

See Also

Adapter Class