LED

public class LED extends SubsystemBase

Functions

Link copied to clipboard
public static LED getInstance()
Returns the Singleton instance of this LEDSubsystem.
Link copied to clipboard
public void highTideFlow()
Creates a flowing high tide effect on the LED strip.
Link copied to clipboard
public void periodic()
This method will be called once per scheduler run.
Link copied to clipboard
public void rainbowHSV(int h, int s, int v)
Sets the color for each of the LEDs based on HSV values
Link copied to clipboard
public void setGreen()
Sets the LED color to green.
Link copied to clipboard
public void setHighTide()
Sets the LED color to high tide (a specific shade of blue-green).
Link copied to clipboard
public void setOrange()
Sets the LED color to orange.
Link copied to clipboard
public void setPurpleColor()
Sets the LED color to purple.
Link copied to clipboard
public void setRed()
Sets the LED color to red.
Link copied to clipboard
public void setRGB(int r, int g, int b)
Sets the color for each of the LEDs based on RGB values.
Link copied to clipboard
public void setTan()
Sets the LED color to tan.