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()}")); }
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()}"); }