public I2C_Comm(int deviceProductId, int deviceVendorId, int busSpeed) { device = new I2C_Device(deviceProductId, deviceVendorId); port = new I2C_Port(busSpeed); checkPresenceAndConnect(); }
} /**< Representation of the i2c port */ public I2C_Comm() { device = new I2C_Device(); port = new I2C_Port(); checkPresenceAndConnect(); }