GPIO.advanced constructor
GPIO.advanced(
- int line,
- GPIOconfig config, [
- int chip = 0
Opens the character device GPIO with the specified GPIO line and
configuration config at the default character device GPIO with
the chip number. The default chip number is 0, with the
path /dev/gpiochip0.
Use GPIO.setBaseGPIOpath to change the default character device path.
Implementation
GPIO.advanced(this.line, GPIOconfig config, [this.chip = 0])
: path = _gpioBasePath + chip.toString(),
name = '',
direction = config.direction,
_gpioHandle =
_openAdvancedGPIO(_gpioBasePath + chip.toString(), line, config);