Beispiel #1
0
        private void Almacenar()
        {
            clsPortConfig objConfig = new clsPortConfig();

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

            Verificar(objConfig.GetPort());

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