PHP Class PiPHP\GPIO\Pin\InputPin

Inheritance: extends Pin, implements PiPHP\GPIO\Pin\InputPinInterface
Show file Open project: piphp/gpio

Public Methods

Method Description
__construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, integer $number ) Constructor.
getEdge ( )
setEdge ( $edge )

Method Details

__construct() public method

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

getEdge() public method

public getEdge ( )

setEdge() public method

public setEdge ( $edge )