G
Guest
I am trying to use code below to read data form the port. I know it is not
correct but I am not finding what I need in MSDN to help me.
private void serialPort1_DataReceived(object sender,
SerialDataReceivedEventArgs e)
{
string getRelayStates;
getRelayStates = serialPort1.ReadLine();
MessageBox.Show(getRelayStates);
Any ideas?
thanks
correct but I am not finding what I need in MSDN to help me.
private void serialPort1_DataReceived(object sender,
SerialDataReceivedEventArgs e)
{
string getRelayStates;
getRelayStates = serialPort1.ReadLine();
MessageBox.Show(getRelayStates);
Any ideas?
thanks