Метод | Описание | |
---|---|---|
__construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, callable $streamSelect ) | Constructor. | |
__destruct ( ) | Destructor. | |
register ( PiPHP\GPIO\Pin\InputPinInterface $pin, callable $callback ) | ||
unregister ( PiPHP\GPIO\Pin\InputPinInterface $pin ) | ||
watch ( $timeout ) |
public __construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, callable $streamSelect ) | ||
$fileSystem | PiPHP\GPIO\FileSystem\FileSystemInterface | An object that provides file system access |
$streamSelect | callable | The stream select implementation |
public unregister ( PiPHP\GPIO\Pin\InputPinInterface $pin ) | ||
$pin | PiPHP\GPIO\Pin\InputPinInterface |