public Blink ( |
||
color | 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) |
return | void |
/// <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 }
private static void Blink(BlinkStick stick, Color color, int duration) { stick.Blink(color, duration); }