Package jpigpio
Class GPIO
java.lang.Object
jpigpio.GPIO
public class GPIO
extends java.lang.Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description voiddelay(long delay, int type)intgetDirection()JPigpiogetPigpio()Should only be needed if not mapped by gpio classintgetPin()booleangetValue()voidsetAlert(Alert alert)voidsetDirection(int direction)voidsetPulldown(int pulldown)voidsetValue(boolean value)voidsetValue(int value)
-
Constructor Details
-
GPIO
-
GPIO
- Throws:
PigpioException
-
-
Method Details
-
getDirection
- Throws:
PigpioException
-
setDirection
- Throws:
PigpioException
-
setValue
- Throws:
PigpioException
-
setValue
- Throws:
PigpioException
-
getValue
- Throws:
PigpioException
-
getPin
public int getPin() -
setAlert
- Throws:
PigpioException
-
setPulldown
- Throws:
PigpioException
-
delay
- Throws:
PigpioException
-
getPigpio
Should only be needed if not mapped by gpio class- Returns:
- Pigpio instance
-