public Form1() { InitializeComponent(); arduino = new Arduino(1, "COM17", 9600); if (arduino.Connect()) { __RP6Control = new RP6Control(arduino); controlTimer.Start(); } else { MessageBox.Show("failed connecting"); } }