I2C Plugin for Xojo

Adapter.Open Method

Attempts to Open the I2C bus.

shared Open(
   adapterNo as Integer) as I2C.Adapter

Parameters

adapterNo
Number of the adapter to open.

Returns

I2C.Adapter
Instance of I2C.Adapter.

Remarks

This function throws I2CException if there is error.

See Also

Adapter Class