PHP Interface PiPHP\GPIO\GPIOInterface

Afficher le fichier Open project: piphp/gpio

Méthodes publiques

Méthode Description
createWatcher ( ) : PiPHP\GPIO\Interrupt\InterruptWatcherInterface Create an interrupt watcher.
getInputPin ( integer $number ) : PiPHP\GPIO\Pin\InputPinInterface Get an input pin.
getOutputPin ( integer $number ) : PiPHP\GPIO\Pin\OutputPinInterface Get an output pin.

Method Details

createWatcher() public méthode

Create an interrupt watcher.
public createWatcher ( ) : PiPHP\GPIO\Interrupt\InterruptWatcherInterface
Résultat PiPHP\GPIO\Interrupt\InterruptWatcherInterface

getInputPin() public méthode

Get an input pin.
public getInputPin ( integer $number ) : PiPHP\GPIO\Pin\InputPinInterface
$number integer The pin number
Résultat PiPHP\GPIO\Pin\InputPinInterface

getOutputPin() public méthode

Get an output pin.
public getOutputPin ( integer $number ) : PiPHP\GPIO\Pin\OutputPinInterface
$number integer The pin number
Résultat PiPHP\GPIO\Pin\OutputPinInterface