PHP Class PiPHP\GPIO\Pin\InputPin

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

Méthodes publiques

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

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

getEdge() public méthode

public getEdge ( )

setEdge() public méthode

public setEdge ( $edge )