I2C Plugin for Xojo

Adapter.WriteWord Method (console safe)

Runs an SMBus “Write word” transaction.

WriteWord(
   command as UInt8,
   value as UInt16)

Parameters

command
The command to send.
value
The value to write.

Remarks

This function throws I2CException if there is error.

See Also

Adapter Class