public HongoComPort(string name) { serialPort = new SerialWrapper(@"\\.\" + name, 1740800, SerialWrapper.StopBits.One, SerialWrapper.Parity.None); serialPort.Open(); Thread t = new Thread(Recive); t.Start(); }
private void Start() { serial = GetComponent <SerialWrapper>(); }