Exemple #1
0
    public void SPO2_gui()
    {
        if ((puerto = Lectura.iniciarPuerto()) != null)
        {
            tiempoInicial = Time.time;
            barra.habilitar();
            Mensaje.text         = "Calculando SPO2. Por favor, espere...";
            estado_puerto        = estado.CALCULANDO;
            Empezar.interactable = false;

            Thread oThread = new Thread(new ThreadStart(SPO2_comando));
            oThread.Start();
        }
    }