PHP Class PiPHP\GPIO\Pin\OutputPin

Inheritance: extends Pin, implements PiPHP\GPIO\Pin\OutputPinInterface
Afficher le fichier Open project: piphp/gpio

Méthodes publiques

Méthode Description
__construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, integer $number ) Constructor.
setValue ( $value )

Method Details

__construct() public méthode

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

setValue() public méthode

public setValue ( $value )