PiPHP\GPIO\Pin\InputPin::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, integer $number )
$fileSystem PiPHP\GPIO\FileSystem\FileSystemInterface An object that provides file system access
$number integer The number of the pin
    public function __construct(FileSystemInterface $fileSystem, $number)
    {
        parent::__construct($fileSystem, $number);
        $this->setDirection(self::DIRECTION_IN);
    }