| 
 | 
In the software posted the following is part of wiringPi.c but with orangePi the gpio module will create a path  "sys/class/gpio_sw" in sysfs. Is this just a simple fix in the path or will this be more complicated? 
 
if (sysFds [bcmGpioPin] == -1) 
  { 
    sprintf (fName, "/sys/class/gpio/gpio%d/value", bcmGpioPin) ; 
    if ((sysFds [bcmGpioPin] = open (fName, O_RDWR)) < 0) 
      return wiringPiFailure (WPI_FATAL, "wiringPiISR: unable to open %s: %s\n", fName, strerror (errno)) ; 
  }  |   
 
 
 
 |