Exemplo n.º 1
0
        private void Almacenar()
        {
            clsPortConfig objConfig = new clsPortConfig();

            objConfig.Write(idPort, 9600);  //CAMBIAR
            frmApp.InitLectura();
            Close();
        }
Exemplo n.º 2
0
        public void InitLectura()
        {
            clsPortConfig objConfig = new clsPortConfig();

            Verificar(objConfig.GetPort());

            SPortObject.DataReceived +=
                new System.IO.Ports.SerialDataReceivedEventHandler(RecibirCtres);
        }