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

InternalSetColor() приватный Метод

Automatically sets the color of the device using either BlinkStick or BlinkStick Pro API
private InternalSetColor ( byte channel, byte index, byte r, byte g, byte b ) : void
channel byte Channel (0 - R, 1 - G, 2 - B)
index byte Index of the LED
r byte The red component.
g byte The green component.
b byte The blue component.
Результат void
        private void InternalSetColor(byte channel, byte index, byte r, byte g, byte b)
        {
            if (channel == 0 && index == 0)
            {
                this.SetColor(r, g, b);
            }
            else
            {
                this.SetColor(channel, index, r, g, b);
            }
        }