PHP Интерфейс PiPHP\GPIO\GPIOInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

createWatcher() публичный Метод

Create an interrupt watcher.
public createWatcher ( ) : PiPHP\GPIO\Interrupt\InterruptWatcherInterface
Результат PiPHP\GPIO\Interrupt\InterruptWatcherInterface

getInputPin() публичный Метод

Get an input pin.
public getInputPin ( integer $number ) : PiPHP\GPIO\Pin\InputPinInterface
$number integer The pin number
Результат PiPHP\GPIO\Pin\InputPinInterface

getOutputPin() публичный Метод

Get an output pin.
public getOutputPin ( integer $number ) : PiPHP\GPIO\Pin\OutputPinInterface
$number integer The pin number
Результат PiPHP\GPIO\Pin\OutputPinInterface