Package org.photonvision.common.hardware
Class VisionLED
java.lang.Object
org.photonvision.common.hardware.VisionLED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
blink
(int pulseLengthMillis, int blinkCount) void
setBrightness
(int percentage) void
setPipelineModeSupplier
(BooleanSupplier pipelineModeSupplier) void
setState
(boolean on)
-
Constructor Details
-
VisionLED
public VisionLED(List<Integer> ledPins, int brightnessMin, int brightnessMax, PigpioSocket pigpioSocket, Consumer<Integer> visionLEDmode)
-
-
Method Details
-
setPipelineModeSupplier
-
setBrightness
public void setBrightness(int percentage) -
blink
public void blink(int pulseLengthMillis, int blinkCount) -
setState
public void setState(boolean on)
-