J
JKSCooper
Guest
How/where do put a delegate to place the data in "indata" into a control on the main thread/form,,,
private void OutputPort1_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
{
System.IO.Ports.SerialPort sp = (System.IO.Ports.SerialPort)sender;
string indata = sp.ReadExisting();
}
Continue reading...
private void OutputPort1_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
{
System.IO.Ports.SerialPort sp = (System.IO.Ports.SerialPort)sender;
string indata = sp.ReadExisting();
}
Continue reading...