ArduinoTest.Components.ArduinoConnection.CreateNewSerialPort C# (CSharp) Method

CreateNewSerialPort() private static method

Creates the settings for an arduino specific connection
private static CreateNewSerialPort ( ) : SerialPort
return System.IO.Ports.SerialPort
        private static SerialPort CreateNewSerialPort()
        {
            return new SerialPort("COM3")
            {
                BaudRate = 9600
            };
        }