Example #1
0
 public Task LedAsync(int vid, byte red, byte green, byte blue, byte redBlink, byte greenBlink, byte blueBlink, BlinkRates blinkRate)
 {
     return(_control.WriteLineAsync($"LED {vid} {red} {green} {blue} {redBlink} {greenBlink} {blueBlink} {blinkRate.ToString().ToLower()}"));
 }
Example #2
0
 public void Led(int vid, byte red, byte green, byte blue, byte redBlink, byte greenBlink, byte blueBlink, BlinkRates blinkRate)
 {
     _control.WriteLine($"LED {vid} {red} {green} {blue} {redBlink} {greenBlink} {blueBlink} {blinkRate.ToString().ToLower()}");
 }