I2C constructor
I2C(
- int busNum
Opens the i2c-dev device at the specified path (e.g. "/dev/i2c-busNum").
Implementation
I2C(this.busNum)
: path = _i2cBasePath + busNum.toString(),
isolate = false {
var tuple = _openI2C(_i2cBasePath + busNum.toString());
_i2cHandle = tuple.$1;
_nativeName = tuple.$2;
}