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 void
delay(long delay, int type)
int
getDirection()
JPigpio
getPigpio()
Should only be needed if not mapped by gpio classint
getPin()
boolean
getValue()
void
setAlert(Alert alert)
void
setDirection(int direction)
void
setPulldown(int pulldown)
void
setValue(boolean value)
void
setValue(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
-