I2C Plugin for Xojo

Adapter.ReadWord Method (console safe)

Runs an SMBus “Read word” transaction.

ReadWord(
   command as UInt8) as UInt16

Parameters

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

Returns

UInt16
The read value.

Remarks

This function throws I2CException if there is error.

See Also

Adapter Class