Skip to content

Commit

Permalink
organization
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSimon8 committed Feb 10, 2025
1 parent 0a33ce4 commit 2602c4c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Team-3749-2025/src/main/java/frc/robot/subsystems/led/LED.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@ public LEDPattern getCurrentPattern() {
return currentPattern;
}

/***
*
* @param setBrightness value from 1 - 0 for brightness
*/
public void setBrightness(double setBrightness) {
brightness = setBrightness;
}

// runs every 0.02 sec
@Override
public void periodic() {
Expand All @@ -136,11 +144,4 @@ public void periodic() {
LEDs.setData(LEDBuffer);
}

/***
*
* @param setBrightness value from 1 - 0 for brightness
*/
public void setBrightness(double setBrightness) {
brightness = setBrightness;
}
}

0 comments on commit 2602c4c

Please sign in to comment.