Class GPIOBase

java.lang.Object
org.photonvision.common.hardware.GPIO.GPIOBase
Direct Known Subclasses:
CustomGPIO, PigpioPin

public abstract class GPIOBase extends Object
  • Field Details

  • Constructor Details

    • GPIOBase

      public GPIOBase()
  • Method Details

    • execute

      protected static String execute(String command)
    • getPinNumber

      public abstract int getPinNumber()
    • setState

      public void setState(boolean state)
    • setStateImpl

      protected abstract void setStateImpl(boolean state)
    • setOff

      public final void setOff()
    • setOn

      public final void setOn()
    • togglePin

      public void togglePin()
    • shutdown

      public abstract boolean shutdown()
    • getState

      public final boolean getState()
    • getStateImpl

      public abstract boolean getStateImpl()
    • blink

      public final void blink(int pulseTimeMillis, int blinks)
    • blinkImpl

      protected abstract void blinkImpl(int pulseTimeMillis, int blinks)
    • setBrightness

      public final void setBrightness(int brightness)
    • setBrightnessImpl

      protected abstract void setBrightnessImpl(int brightness)