|
|
@ -19,6 +19,10 @@ void LEDRainbowEffect_::update(void) {
|
|
|
|
LEDControl.set_all_leds_to(rainbow);
|
|
|
|
LEDControl.set_all_leds_to(rainbow);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void LEDRainbowEffect_::brightness(byte brightness) {
|
|
|
|
|
|
|
|
rainbow.value=brighness;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
LEDRainbowEffect_ LEDRainbowEffect;
|
|
|
|
LEDRainbowEffect_ LEDRainbowEffect;
|
|
|
|
|
|
|
|
|
|
|
|
// ---------
|
|
|
|
// ---------
|
|
|
@ -47,4 +51,8 @@ void LEDRainbowWaveEffect_::update(void) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void LEDRainbowWaveEffect_::brightness(byte brightness) {
|
|
|
|
|
|
|
|
rainbow.value=brighness;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
LEDRainbowWaveEffect_ LEDRainbowWaveEffect;
|
|
|
|
LEDRainbowWaveEffect_ LEDRainbowWaveEffect;
|
|
|
|