Esempio n. 1
0
        public static async void run()
        {
            demo = true;
            while (demo)
            {
                UpdateLights.addDevice(Names[r.Next(0, Names.Count)], $"{randomValues()},{randomValues()},{randomValues()},{randomValues()},");

                Console.WriteLine($"{UpdateLights.NumberOfDevices}, {UpdateLights.StackSize}");
                await Task.Delay(AFXCore.UpdateInterval);
            }
        }
Esempio n. 2
0
 public static void setColorToLight(string Name, string ColorCSV)
 {
     UpdateLights.addDevice(Name, ColorCSV);
 }