I2C constructor

I2C(
  1. int busNum
)

Opens the i2c-dev device at the specified path (e.g. "/dev/i2c-busNum").

Implementation

I2C(this.busNum)
    : path = _i2cBasePath + busNum.toString(),
      _i2cHandle = _openI2C(_i2cBasePath + busNum.toString());