PiPHP\GPIO\Pin\Pin::getPinFile PHP Method

getPinFile() protected method

Get the path of a pin access file.
protected getPinFile ( string $file ) : string
$file string The type of pin file (edge/value/direction)
return string
    protected function getPinFile($file)
    {
        return self::GPIO_PATH . self::GPIO_PREFIX . $this->getNumber() . '/' . $file;
    }