Class PigpioPin

java.lang.Object
org.photonvision.common.hardware.GPIO.GPIOBase
org.photonvision.common.hardware.GPIO.pi.PigpioPin

public class PigpioPin extends GPIOBase
  • Field Details

    • logger

      public static final Logger logger
  • Constructor Details

    • PigpioPin

      public PigpioPin(int pinNo)
  • Method Details

    • getPinNumber

      public int getPinNumber()
      Specified by:
      getPinNumber in class GPIOBase
    • setStateImpl

      protected void setStateImpl(boolean state)
      Specified by:
      setStateImpl in class GPIOBase
    • shutdown

      public boolean shutdown()
      Specified by:
      shutdown in class GPIOBase
    • getStateImpl

      public boolean getStateImpl()
      Specified by:
      getStateImpl in class GPIOBase
    • blinkImpl

      protected void blinkImpl(int pulseTimeMillis, int blinks)
      Specified by:
      blinkImpl in class GPIOBase
    • setBrightnessImpl

      protected void setBrightnessImpl(int brightness)
      Specified by:
      setBrightnessImpl in class GPIOBase