PHP Interface PiPHP\GPIO\Pin\InputPinInterface

Inheritance: extends PiPHP\GPIO\Pin\PinInterface
Show file Open project: piphp/gpio Interface Usage Examples

Public Methods

Method Description
getEdge ( ) : string Get the pin edge.
setEdge ( string $edge ) Set the pin edge.

Method Details

getEdge() public method

Get the pin edge.
public getEdge ( ) : string
return string The pin edge value

setEdge() public method

Set the pin edge.
public setEdge ( string $edge )
$edge string The pin edge value to set