PHP 인터페이스 PiPHP\GPIO\GPIOInterface

파일 보기 프로젝트 열기: piphp/gpio

공개 메소드들

메소드 설명
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