ArduinoTest.WinForm.Form1.timer1_Tick C# (CSharp) Method

timer1_Tick() private method

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

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