PiPHP\GPIO\Pin\Pin::setDirection PHP Метод

setDirection() защищенный Метод

protected setDirection ( $direction )
    protected function setDirection($direction)
    {
        $directionFile = $this->getPinFile(self::GPIO_PIN_FILE_DIRECTION);
        $this->fileSystem->putContents($directionFile, $direction);
    }