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

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

Pulse specified color on BlinkStick Pro.
public Pulse ( byte channel, byte index, string color, int repeats = 1, int duration = 1000, int steps = 50 ) : 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")
repeats int
duration int How long should the morph last
steps int How many steps for color changes
Результат void
        public void Pulse(byte channel, byte index, string color, int repeats=1, int duration=1000, int steps=50)
        {
            this.Pulse(channel, index, RgbColor.FromString(color), repeats, duration, steps);
        }

Same methods

BlinkStick::Pulse ( RgbColor color, int repeats = 1, int duration = 1000, int steps = 50 ) : void
BlinkStick::Pulse ( byte channel, byte index, RgbColor color, int repeats = 1, int duration = 1000, int steps = 50 ) : void
BlinkStick::Pulse ( byte channel, byte index, byte r, byte g, byte b, int repeats = 1, int duration = 1000, int steps = 50 ) : void
BlinkStick::Pulse ( byte r, byte g, byte b, int repeats = 1, int duration = 1000, int steps = 50 ) : void
BlinkStick::Pulse ( string color, int repeats = 1, int duration = 1000, int steps = 50 ) : void