ArduinoTest.WinForm.Form1.timer1_Tick C# (CSharp) 메소드

timer1_Tick() 개인적인 메소드

private timer1_Tick ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void
        private void timer1_Tick(object sender, EventArgs e)
        {
            var colors = _colorProvider.GetColors();

            // Send it off to the arduino
            _arduinoConnection.Write(colors);
        }