diff --git a/HyperionRGB/ConfigStatic.h.example b/HyperionRGB/ConfigStatic.h.example index 27fecba..ad41c4f 100644 --- a/HyperionRGB/ConfigStatic.h.example +++ b/HyperionRGB/ConfigStatic.h.example @@ -40,6 +40,7 @@ #define CONFIG_LED_STANDARD_MODE FIRE2012 #define CONFIG_LED_HYPERION_AUTOSWITCH true #define CONFIG_LED_STANDARD_MODE_TIMEOUT_MS 5000 +//#define CONFIG_LED_STATIC_COLOR CRGB(254, 254, 254) /*------------------------------------------------*/ /*Main configuration*/ diff --git a/HyperionRGB/HyperionRGB.ino b/HyperionRGB/HyperionRGB.ino index 868230a..b195b30 100644 --- a/HyperionRGB/HyperionRGB.ino +++ b/HyperionRGB/HyperionRGB.ino @@ -74,6 +74,9 @@ void changeMode(Mode newMode, int interval = 0) { ledStrip.show(); break; case STATIC_COLOR: + #ifdef CONFIG_LED_STATIC_COLOR + ledStrip.fillSolid(CONFIG_LED_STATIC_COLOR); + #endif break; case RAINBOW: if (interval == 0)