SerialDataReceivedEventHandler;
<pre><code>while (true)
{
 serialPort1.DataReceived += new SerialDataReceivedEventHandler(port1_DataReceived);
 }
private void port1_DataReceived(object sender, SerialDataReceivedEventArgs e)
{
  Thread.Sleep(1);
  byte DATA = Convert.ToByte(serialPort1.ReadByte());
  Console.WriteLine(DATA);
  //MessageBox.Show(Convert.ToString(DATA));
}
</code></pre>

<p>I can see serial DATA on console but I do not know how to handle this DATA and show it on textBox etc.
what is missing in my code</p>
