Наследование: implements PiPHP\GPIO\Pin\PinInterface
Пример #1
0
 /**
  * Constructor.
  * 
  * @param FileSystemInterface $fileSystem An object that provides file system access
  * @param int                 $number     The number of the pin
  */
 public function __construct(FileSystemInterface $fileSystem, $number)
 {
     parent::__construct($fileSystem, $number);
     $this->setDirection(self::DIRECTION_IN);
 }