LED

public class LED extends SubsystemBase

Properties

Link copied to clipboard
public final static LED INSTANCE

Functions

Link copied to clipboard
public final Unit highTideFlow()

Creates a flowing high tide effect on the LED strip. The effect is based on a sine wave pattern that changes over time.

Link copied to clipboard
public Unit periodic()

This method will be called once per scheduler run. Updates the LED pattern based on the robot state.

Link copied to clipboard
public final Unit setHSV(Integer h, Integer s, Integer v)

Sets the color for each of the LEDs based on HSV values

Link copied to clipboard
public final Unit setRGB(Color color)
public final Unit setRGB(Integer r, Integer g, Integer b)

Sets the color for each of the LEDs based on RGB values.