GPIO.sysfs constructor

GPIO.sysfs(
  1. int line,
  2. GPIOdirection direction
)

Opens the sysfs GPIO with the specified line and direction.

Implementation

GPIO.sysfs(this.line, this.direction)
    : chip = -1,
      path = '',
      name = '',
      _gpioHandle = _openSysfsGPIO(line, direction);