|
|
|
@ -15,8 +15,8 @@ class LEDRainbowEffect : public LEDMode {
|
|
|
|
|
uint16_t rainbow_hue = 0; // stores 0 to 614
|
|
|
|
|
|
|
|
|
|
uint8_t rainbow_steps = 1; // number of hues we skip in a 360 range per update
|
|
|
|
|
uint16_t rainbow_current_ticks = 0;
|
|
|
|
|
uint16_t rainbow_ticks = 10; // delays between update
|
|
|
|
|
uint16_t rainbow_last_update = 0;
|
|
|
|
|
uint16_t rainbow_update_delay = 40; // delay between updates (ms)
|
|
|
|
|
|
|
|
|
|
byte rainbow_saturation = 255;
|
|
|
|
|
byte rainbow_value = 50;
|
|
|
|
@ -34,8 +34,8 @@ class LEDRainbowWaveEffect : public LEDMode {
|
|
|
|
|
uint16_t rainbow_hue = 0; // stores 0 to 614
|
|
|
|
|
|
|
|
|
|
uint8_t rainbow_wave_steps = 1; // number of hues we skip in a 360 range per update
|
|
|
|
|
uint16_t rainbow_current_ticks = 0;
|
|
|
|
|
uint16_t rainbow_wave_ticks = 10; // delays between update
|
|
|
|
|
uint16_t rainbow_last_update = 0;
|
|
|
|
|
uint16_t rainbow_update_delay = 40; // delay between updates (ms)
|
|
|
|
|
|
|
|
|
|
byte rainbow_saturation = 255;
|
|
|
|
|
byte rainbow_value = 50;
|
|
|
|
|