|
|
@ -9,9 +9,13 @@ class LEDRainbowEffect : public LEDMode {
|
|
|
|
LEDRainbowEffect(void) {}
|
|
|
|
LEDRainbowEffect(void) {}
|
|
|
|
|
|
|
|
|
|
|
|
void brightness(byte);
|
|
|
|
void brightness(byte);
|
|
|
|
byte brightness(void) { return rainbow_value; }
|
|
|
|
byte brightness(void) {
|
|
|
|
|
|
|
|
return rainbow_value;
|
|
|
|
|
|
|
|
}
|
|
|
|
void update_delay(byte);
|
|
|
|
void update_delay(byte);
|
|
|
|
byte update_delay(void) { return rainbow_update_delay; }
|
|
|
|
byte update_delay(void) {
|
|
|
|
|
|
|
|
return rainbow_update_delay;
|
|
|
|
|
|
|
|
}
|
|
|
|
void update(void) final;
|
|
|
|
void update(void) final;
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
@ -31,9 +35,13 @@ class LEDRainbowWaveEffect : public LEDMode {
|
|
|
|
LEDRainbowWaveEffect(void) {}
|
|
|
|
LEDRainbowWaveEffect(void) {}
|
|
|
|
|
|
|
|
|
|
|
|
void brightness(byte);
|
|
|
|
void brightness(byte);
|
|
|
|
byte brightness(void) { return rainbow_value; }
|
|
|
|
byte brightness(void) {
|
|
|
|
|
|
|
|
return rainbow_value;
|
|
|
|
|
|
|
|
}
|
|
|
|
void update_delay(byte);
|
|
|
|
void update_delay(byte);
|
|
|
|
byte update_delay(void) { return rainbow_update_delay; }
|
|
|
|
byte update_delay(void) {
|
|
|
|
|
|
|
|
return rainbow_update_delay;
|
|
|
|
|
|
|
|
}
|
|
|
|
void update(void) final;
|
|
|
|
void update(void) final;
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|