Class PigpioPin
java.lang.Object
org.photonvision.common.hardware.GPIO.GPIOBase
org.photonvision.common.hardware.GPIO.pi.PigpioPin
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
blinkImpl
(int pulseTimeMillis, int blinks) int
boolean
protected void
setBrightnessImpl
(int brightness) protected void
setStateImpl
(boolean state) boolean
shutdown()
-
Field Details
-
logger
-
-
Constructor Details
-
PigpioPin
public PigpioPin(int pinNo)
-
-
Method Details
-
getPinNumber
public int getPinNumber()- Specified by:
getPinNumber
in classGPIOBase
-
setStateImpl
protected void setStateImpl(boolean state) - Specified by:
setStateImpl
in classGPIOBase
-
shutdown
public boolean shutdown() -
getStateImpl
public boolean getStateImpl()- Specified by:
getStateImpl
in classGPIOBase
-
blinkImpl
protected void blinkImpl(int pulseTimeMillis, int blinks) -
setBrightnessImpl
protected void setBrightnessImpl(int brightness) - Specified by:
setBrightnessImpl
in classGPIOBase
-