Esempio n. 1
0
        private void ProcesaDatosSeriales()
        {
            String arduinoStatus;

            arduinoStatus = "Tick";
            try
            {
                arduinoStatus = arduinoLimits.ReadLine();
            }
            catch (TimeoutException exc)
            {
                logger.Debug(exc.ToString());
                return;
            }
            catch (System.InvalidOperationException)
            {
                return;
            }
            //Console.WriteLine(arduinoStatus);
            stat = new Serduino.Status(arduinoStatus);
            stat.Analiza();
        }