PHP Class PiPHP\GPIO\GPIO

Inheritance: implements PiPHP\GPIO\GPIOInterface
Show file Open project: piphp/gpio

Public Methods

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

Method Details

__construct() public method

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 method

public createWatcher ( )

getInputPin() public method

public getInputPin ( $number )

getOutputPin() public method

public getOutputPin ( $number )