Open
Description
I'd like to invoke other code to happen when the first sequence is complete - is that possible?
JLed leds[] = {
JLed(AMBER_LED_PIN).FadeOn(AMBER_LED_FADE_UP_TIME).MaxBrightness(MAX_BRIGHT_AMBER_LEDS).DelayBefore(AMBER_LED_WAIT_START_TIME).DelayAfter(250),
JLed(AMBER_LED_PIN).Fade(MAX_BRIGHT_AMBER_LEDS, MIN_BRIGHT_AMBER_LEDS, PULSE_TIME/2),
JLed(AMBER_LED_PIN).Breathe(PULSE_TIME).MaxBrightness(MAX_BRIGHT_AMBER_LEDS)
.MinBrightness(MIN_BRIGHT_AMBER_LEDS).DelayAfter(250).Forever()
};
JLedSequence seqAmberLEDs(JLedSequence::eMode::SEQUENCE, leds);
i.e. is it possible to tell when the initial FadeOn is done?
Metadata
Metadata
Assignees
Labels
No labels