[CODE] LED enhancement

As requested by Gus, here is the code I added to the MultiColorLed. It’s really nothing special just a nice addition to already great module :slight_smile:


/// <summary>
        /// Causes the LED to fade to the specified color using the current color as base.
        /// </summary>
        /// <param name="color">The color to fade to.</param>
        public void FadeTo(Color color)
        {
            FadeOnce(GetCurrentColor(), _oneSecond, color);
        }

        /// <summary>
        /// Causes the LED to fade to the specified color using the current color as base.
        /// </summary>
        /// <param name="color">The color to fade to.</param>
        /// <param name="fadeTime">The duration of the fade.</param>
        public void FadeTo(Color color, TimeSpan fadeTime)
        {
            FadeOnce(GetCurrentColor(), fadeTime, color);
        }

I think there should be such a method in future releases. :slight_smile:

Thanks for sharing