예제 #1
0
        public I2cDetect()
        {
            ProcessorPin SerialDataPin  = ProcessorPin.Gpio2; //.P1Pin03;
            ProcessorPin SerialClockPin = ProcessorPin.Gpio3; //.P1Pin05;

            _driver = new I2cDriver(SerialDataPin, SerialClockPin);
        }
 internal I2cDeviceConnection(I2cDriver driver, int deviceAddress)
 {
     this.driver        = driver;
     this.deviceAddress = deviceAddress;
 }