sinematrix3 will now be shown with a masked clock.
This commit is contained in:
@ -65,8 +65,6 @@ void setup() {
|
||||
ntp_setup();
|
||||
mqtt_setup();
|
||||
Serial.println("Core * Setup complete");
|
||||
|
||||
clock.setEffects(&effects[0]);
|
||||
}
|
||||
|
||||
Effect* current_effect = &clock;
|
||||
@ -99,9 +97,12 @@ void loop() {
|
||||
|
||||
EVERY_N_MILLISECONDS(1000 / FPS) {
|
||||
Serial.println("Core * loop running");
|
||||
//Serial.printf("Core * current_effect: %p\n", (void *)¤t_effect);
|
||||
|
||||
current_effect->loop();
|
||||
|
||||
if (current_effect->can_be_shown_with_clock()) {
|
||||
clock.loop(current_effect->clock_as_mask(), CRGB(0xFFFFFF), CRGB(0x000000));
|
||||
}
|
||||
|
||||
FastLED.show();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user