PHP Class PiPHP\GPIO\GPIO

Inheritance: implements PiPHP\GPIO\GPIOInterface
Afficher le fichier Open project: piphp/gpio

Méthodes publiques

Méthode Description
__construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem = null, callable $streamSelect = null ) Constructor.
createWatcher ( )
getInputPin ( $number )
getOutputPin ( $number )

Method Details

__construct() public méthode

Constructor.
public __construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem = null, callable $streamSelect = null )
$fileSystem PiPHP\GPIO\FileSystem\FileSystemInterface Optional file system object to use
$streamSelect callable Optional sream select callable

createWatcher() public méthode

public createWatcher ( )

getInputPin() public méthode

public getInputPin ( $number )

getOutputPin() public méthode

public getOutputPin ( $number )