private void Read_Click(object sender, EventArgs e) { try { //clear the text box textBox.Text = ""; //read serial port and displayed the data in text box textBox.Text = sp.ReadLine(); } catch (System.Exception ex) { baudRatelLabel.Text = ex.Message; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)