String data; private void serialPort1_DataReceived(object sender, SerialDataReceivedEventArgs e) { data += serialPort1.ReadExisting(); this.Invoke(new EventHandler(display_data_event)); } private void display_data_event(object sender, EventArgs e) { textBox2.Text = data; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)