2021-09-20 02:47:40 +08:00
|
|
|
/* Copyright 2019-2021 Konstantin Đorđević <vomindoraan@gmail.com>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2019-02-12 05:41:51 +08:00
|
|
|
#include "rgb.h"
|
|
|
|
|
2019-02-18 11:34:55 +08:00
|
|
|
#ifdef RGBLIGHT_EFFECT_BREATHING
|
2019-07-12 21:16:28 +08:00
|
|
|
const uint8_t PROGMEM RGBLED_BREATHING_INTERVALS[] = { 20, 30, 5, 10 };
|
2019-02-18 11:34:55 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef RGBLIGHT_EFFECT_RAINBOW_MOOD
|
2019-07-12 21:16:28 +08:00
|
|
|
const uint8_t PROGMEM RGBLED_RAINBOW_MOOD_INTERVALS[] = { 20, 50, 100 };
|
2019-02-18 11:34:55 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
2019-07-12 21:16:28 +08:00
|
|
|
const uint8_t PROGMEM RGBLED_RAINBOW_SWIRL_INTERVALS[] = { 20, 50, 100 };
|
2019-02-18 11:34:55 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef RGBLIGHT_EFFECT_SNAKE
|
2019-07-12 21:16:28 +08:00
|
|
|
const uint8_t PROGMEM RGBLED_SNAKE_INTERVALS[] = { 20, 50, 100 };
|
2019-02-18 11:34:55 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef RGBLIGHT_EFFECT_KNIGHT
|
2019-07-12 21:16:28 +08:00
|
|
|
const uint8_t PROGMEM RGBLED_KNIGHT_INTERVALS[] = { 20, 50, 100 };
|
2019-02-18 11:34:55 +08:00
|
|
|
#endif
|
|
|
|
|
2019-07-26 03:31:40 +08:00
|
|
|
const HSV godspeed_blue = { GODSPEED_BLUE };
|
|
|
|
const HSV godspeed_yellow = { GODSPEED_YELLOW };
|
|
|
|
const HSV modern_dolch_cyan = { MODERN_DOLCH_CYAN };
|
|
|
|
const HSV modern_dolch_red = { MODERN_DOLCH_RED };
|