public HongoComPort(string name)
        {
            serialPort = new SerialWrapper(@"\\.\" + name, 1740800, SerialWrapper.StopBits.One, SerialWrapper.Parity.None);
            serialPort.Open();
            Thread t = new Thread(Recive);

            t.Start();
        }
예제 #2
0
 private void Start()
 {
     serial = GetComponent <SerialWrapper>();
 }