BlinkStickDotNet.BlinkStick.SetColor C# (CSharp) Метод

SetColor() публичный Метод

Sets the color of the led.
public SetColor ( byte channel, byte index, string color ) : void
channel byte Channel (0 - R, 1 - G, 2 - B)
index byte Index of the LED
color string Must be in #rrggbb format or named color ("red", "green", "blue")
Результат void
        public void SetColor(byte channel, byte index, string color)
        {
            SetColor(channel, index, RgbColor.FromString(color));
        }

Same methods

BlinkStick::SetColor ( RgbColor color ) : void
BlinkStick::SetColor ( String color ) : void
BlinkStick::SetColor ( byte channel, byte index, RgbColor color ) : void
BlinkStick::SetColor ( byte r, byte g, byte b ) : void
BlinkStick::SetColor ( byte channel, byte index, byte r, byte g, byte b ) : void