Package jpigpio

Class GPIO

java.lang.Object
jpigpio.GPIO

public class GPIO
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    GPIO​(JPigpio pigpio, int pin)  
    GPIO​(JPigpio pigpio, int pin, int direction)  
  • 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 class
    int getPin()  
    boolean getValue()  
    void setAlert​(Alert alert)  
    void setDirection​(int direction)  
    void setPulldown​(int pulldown)  
    void setValue​(boolean value)  
    void setValue​(int value)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait