shifted 'out' from the tapout screen one digit to the right
This commit is contained in:
@@ -190,7 +190,7 @@ void sendTimeDisplay(int MINUTES, int SECONDS, int RED, int GREEN, int BLUE, int
|
||||
}
|
||||
}
|
||||
|
||||
// Global markers for tap out states (non‐blocking sequences)
|
||||
// Global Vars for tap out states
|
||||
bool redTapOutActive = false;
|
||||
unsigned long redTapOutStartTime = 0;
|
||||
int redTapOutStage = 0;
|
||||
@@ -424,8 +424,10 @@ void handleCountdownTransition() {
|
||||
// The display update logic now considers all conditions in order.
|
||||
void updateDisplay() {
|
||||
if (ReadyCountDown.isRunning()) {
|
||||
// Display Ready Countdown in Yellow
|
||||
sendTimeDisplay((ReadyCountDown.remaining()/60 % 60), (ReadyCountDown.remaining()%60), 255, 165, 0, CLOCK_LED_BRIGHTNESS);
|
||||
} else if (switchRUMBLE.on()) {
|
||||
// Display the Rumble Timer
|
||||
sendTimeDisplay((rumbleTIME.elapsed()/60 % 60), (rumbleTIME.elapsed()%60), 0, 255, 255, CLOCK_LED_BRIGHTNESS);
|
||||
} else if (!FightCountDown.isRunning() && !countdownPAUSED) {
|
||||
// Choose green if both team buttons are active; otherwise, choose magenta.
|
||||
@@ -439,6 +441,7 @@ void updateDisplay() {
|
||||
if (countdownPAUSED && (!buttonREDTEAMvar || !buttonBLUETEAMvar)) {
|
||||
sendTimeDisplay((FightCountDown.remaining()/60 % 60), (FightCountDown.remaining()%60), 255, 165, 0, CLOCK_LED_BRIGHTNESS);
|
||||
} else {
|
||||
// Display the countdown in green
|
||||
sendTimeDisplay((FightCountDown.remaining()/60 % 60), (FightCountDown.remaining()%60), 0, 255, 0, CLOCK_LED_BRIGHTNESS);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user