From 2b38fb6f0067af30f22e84a0f1e88423c9039e27 Mon Sep 17 00:00:00 2001 From: Liam VanScoyoc Date: Wed, 31 Jan 2024 16:20:05 -0500 Subject: [PATCH] Yellow Added --- src/main/java/frc/robot/subsystems/LedSubsystem.java | 4 ++++ src/main/java/frc/robot/subsystems/NoteSensorSubsystem.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystems/LedSubsystem.java b/src/main/java/frc/robot/subsystems/LedSubsystem.java index 440bac1..c4bf228 100644 --- a/src/main/java/frc/robot/subsystems/LedSubsystem.java +++ b/src/main/java/frc/robot/subsystems/LedSubsystem.java @@ -61,6 +61,9 @@ public void ColorGreen (){ public void ColorBlue (){ m_candle.setLEDs(0,0,255) ; } + public void ColorYellow (){ + m_candle.setLEDs(255,255,0) ; + } /******************************* Color | RGB Values @@ -70,6 +73,7 @@ public void ColorBlue (){ Blue | (0, 0, 255) Orange | (255, 165, 0) Dark Orange | (255, 60,0) + Yellow | (255, 255,0) ********************************/ diff --git a/src/main/java/frc/robot/subsystems/NoteSensorSubsystem.java b/src/main/java/frc/robot/subsystems/NoteSensorSubsystem.java index 19abd75..7b8e492 100644 --- a/src/main/java/frc/robot/subsystems/NoteSensorSubsystem.java +++ b/src/main/java/frc/robot/subsystems/NoteSensorSubsystem.java @@ -64,7 +64,7 @@ public void setLEDColor() { } else if (isNoteLoaded() == false) { //SetColor decide UnLoaded color - m_ledSubsystem.ColorRed(); + m_ledSubsystem.ColorYellow(); } }