ArduinoTest.Components.AmbiantLightingManager.Run C# (CSharp) Method

Run() public method

Starts the awesomeness
public Run ( ) : void
return void
        public void Run()
        {
            while (true)
            {
                try
                {
                    var color =_screenColorManager.GetCenterScreenColor();
                    _dioderConnection.DisplayColor(color);
                }
                catch
                {
                    _dioderConnection.Close();
                    throw;
                }
            }
        }