Пример #1
0
        public I2C_Comm(int deviceProductId, int deviceVendorId, int busSpeed)
        {
            device = new I2C_Device(deviceProductId, deviceVendorId);
            port   = new I2C_Port(busSpeed);

            checkPresenceAndConnect();
        }
Пример #2
0
        }                                 /**< Representation of the i2c port */

        public I2C_Comm()
        {
            device = new I2C_Device();
            port   = new I2C_Port();

            checkPresenceAndConnect();
        }