I2C Plugin for Xojo

Adapter.ReadByte Method (console safe)

Runs an SMBus “Read byte” transaction.

ReadByte(
   command as UInt8) as UInt8

Parameters

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

Returns

UInt8
The read value.

Remarks

This function throws I2CException if there is error.

See Also

Adapter Class