@ -55,13 +55,13 @@ class LEDRainbowEffect : public Plugin,
uint16_t rainbow_hue = 0 ; // stores 0 to 614
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
uint8_t rainbow_steps = 1 ; // number of hues we skip in a 360 range per update
uint 16 _t rainbow_last_update = 0 ;
uint 8 _t rainbow_last_update = 0 ;
byte rainbow_saturation = 255 ;
byte rainbow_saturation = 255 ;
} ;
} ;
private :
private :
uint 16 _t rainbow_update_delay = 40 ; // delay between updates (ms)
uint 8 _t rainbow_update_delay = 40 ; // delay between updates (ms)
byte rainbow_value = 50 ;
byte rainbow_value = 50 ;
} ;
} ;
@ -100,12 +100,12 @@ class LEDRainbowWaveEffect : public Plugin, public LEDModeInterface {
uint16_t rainbow_hue = 0 ; // stores 0 to 614
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
uint8_t rainbow_wave_steps = 1 ; // number of hues we skip in a 360 range per update
uint 16 _t rainbow_last_update = 0 ;
uint 8 _t rainbow_last_update = 0 ;
byte rainbow_saturation = 255 ;
byte rainbow_saturation = 255 ;
} ;
} ;
uint 16 _t rainbow_update_delay = 40 ; // delay between updates (ms)
uint 8 _t rainbow_update_delay = 40 ; // delay between updates (ms)
byte rainbow_value = 50 ;
byte rainbow_value = 50 ;
} ;
} ;
}
}