ArduinoTest.Components.AmbiantLightingManager.Run C# (CSharp) 메소드

Run() 공개 메소드

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