Skip to content

Commit

Permalink
Lights almost done
Browse files Browse the repository at this point in the history
  • Loading branch information
2491NoMythic committed Feb 14, 2024
1 parent f03c400 commit 8472451
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/main/java/frc/robot/commands/IndicatorLights.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ public void initialize() {}
@Override
public void execute() {

lights.setSectionOne(255,192,203);
lights.setSectionTwo(255,0,255);
lights.setSectionOne(50,0,50);
lights.setSectionTwo(0,50,0);
lights.dataSetter();
}


@Override
public void end(boolean interrupted) {

lights.lightsOut();
lights.dataSetter();
}

// Returns true when the command should end.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/settings/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public final class Constants {

private Constants () {}

public static final int LED_COUNT = 52;
public static final int LED_COUNT = 24;

public static final class DriveConstants {
public static final double ALLOWED_ERROR = 1;
Expand Down

0 comments on commit 8472451

Please sign in to comment.