Auto fix LED strip

This commit is contained in:
Michael Mikovsky
2026-02-11 16:39:09 -07:00
parent b81a6b5be7
commit 9ea8193935
2 changed files with 3 additions and 1 deletions
@@ -9,6 +9,7 @@ package frc4388.robot;
import java.io.File;
import com.ctre.phoenix.CANifier.LEDChannel;
import com.pathplanner.lib.commands.PathPlannerAuto;
import edu.wpi.first.math.geometry.Rotation2d;
@@ -61,7 +62,7 @@ public class RobotContainer {
public final RobotMap m_robotMap = new RobotMap(Mode.REAL);
/* Subsystems */
public final LED m_robotLED = new LED();
public final LED m_robotLED = new LED(Constants.LEDConstants.LED_SPARK_ID);
//Testing of Colors
public final Vision m_vision = new Vision();
public final SwerveDrive m_robotSwerveDrive = new SwerveDrive(m_robotMap.swerveDrivetrain, m_vision);
@@ -42,6 +42,7 @@ public class LED extends SubsystemBase implements Queryable {
public void setMode(LEDPatterns pattern){
this.mode = pattern;
setTo5V();
}
public String getMode(){