BlinkStickDotNet.BlinkStick.Pulse C# (CSharp) Method

Pulse() public method

Pulse specified color on BlinkStick Pro.
public Pulse ( byte channel, byte index, RgbColor 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 RgbColor Color parameter as RgbColor class instance
repeats int
duration int How long should the morph last
steps int How many steps for color changes
return void
        public void Pulse(byte channel, byte index, RgbColor color, int repeats=1, int duration=1000, int steps=50)
        {
            this.Pulse(channel, index, color.R, color.G, color.B, 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, 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 ( byte channel, byte index, string color, int repeats = 1, int duration = 1000, int steps = 50 ) : void
BlinkStick::Pulse ( string color, int repeats = 1, int duration = 1000, int steps = 50 ) : void