Beat 1 = yellow, other beats = white — visible color contrast
This commit is contained in:
+3
-3
@@ -42,11 +42,11 @@ void midi_task(void* parameter) {
|
||||
if (current_beat != last_beat) {
|
||||
last_beat = current_beat;
|
||||
flash_start = now;
|
||||
// Beat 1 every 4th beat = full white, others near-invisible
|
||||
// Beat 1 (every 4th) = yellow, others = white
|
||||
if (current_beat % 4 == 0) {
|
||||
mux.set_led_color(6, 255, 255, 255);
|
||||
mux.set_led_color(6, 255, 255, 0);
|
||||
} else {
|
||||
mux.set_led_color(6, 6, 6, 6);
|
||||
mux.set_led_color(6, 255, 255, 255);
|
||||
}
|
||||
mux.show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user