internal void Start() { for (int i = 0; i < j.Count; ++i) { Console.WriteLine(i); Joycon jc = j[i]; byte LEDs = 0x0; LEDs |= (byte)(0x1 << i); jc.Attach(leds_: LEDs); jc.Begin(); } }
internal void Start() { for (int i = 0; i < j.Count; ++i) { Console.WriteLine(i); Joycon jc = j[i]; byte LEDs = 0x0; LEDs |= (byte)(0x1 << i); jc.Attach(leds_: LEDs); jc.Begin(); } update = new Timer(timerTick); update.Elapsed += Update_Elapsed; update.Start(); }