Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Implemented fixed color STATIC_COLOR
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Jun 8, 2018
1 parent 70adf21 commit 3d5a974
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions HyperionRGB/ConfigStatic.h.example
Original file line number Diff line number Diff line change
Expand Up @@ -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*/
Expand Down
3 changes: 3 additions & 0 deletions HyperionRGB/HyperionRGB.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

1 comment on commit 3d5a974

@maex-la
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested. The LED-Stripes starts with White and remains so until a new color is picked in Hyperion App.

Please sign in to comment.