PHP Class PiPHP\GPIO\Pin\OutputPin

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

Public Methods

Method Description
__construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, integer $number ) Constructor.
setValue ( $value )

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

setValue() public method

public setValue ( $value )