static void Main(string[] args) { string buff; SerialPort port = new SerialPort("COM4", 9600, Parity.None, 8, StopBits.One); port.Open();
int data = myPort.BytesToRead; byte[] buffer = new byte[data]; Console.WriteLine(BitConverter.ToString(buffer) ); Console.ReadLine();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)