I2C Plugin for Xojo

Adapter.WriteByte Method (console safe)

Runs an SMBus “Write byte” transaction.

WriteByte(
   command as UInt8,
   value as UInt8)

Parameters

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

Remarks

This function throws I2CException if there is error.

See Also

Adapter Class