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

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

Blink the LED.
public Blink ( RgbColor color, int repeats = 1, int delay = 500 ) : void
color RgbColor Must be in #rrggbb format or named color ("red", "green", "blue")
repeats int How many times to repeat (default 1)
delay int Delay delay between on/off sequences (default 500)
Результат void
        public void Blink(RgbColor color, int repeats=1, int delay=500)
        {
            this.Blink(0, 0, color, repeats, delay);
        }

Same methods

BlinkStick::Blink ( byte channel, byte index, RgbColor color, int repeats = 1, int delay = 500 ) : void
BlinkStick::Blink ( byte channel, byte index, byte r, byte g, byte b, int repeats = 1, int delay = 500 ) : void
BlinkStick::Blink ( byte r, byte g, byte b, int repeats = 1, int delay = 500 ) : void
BlinkStick::Blink ( byte channel, byte index, string color, int repeats = 1, int delay = 500 ) : void
BlinkStick::Blink ( string color, int repeats = 1, int delay = 500 ) : void

Usage Example

Пример #1
0
 /// <summary>
 /// Helper for doing ad-hoc testing
 /// </summary>
 public static void Main()
 {
     // add code here
     #if false
     var bs = new BlinkStick();
     bs.Verbosity = Verbosity.Debug;
     bs.Blink(Color.Red, 1000);
     #endif
 }
All Usage Examples Of BlinkStickDotNet.BlinkStick::Blink