Пример #1
0
        private void NamedPipesBegin()
        {
            UseThisThreadForEvents();

            PipeSender.begin("FromArduino");
            PipeListener.begin("ToArduino", new NewMessageDelegate(PipesMessageHandler));

            connectionTestTimer = new DispatcherTimer();

            connectionTestTimer.Tick    += ConnectionTestTimer_Tick;
            connectionTestTimer.Interval = new TimeSpan(0, 0, 2);
            connectionTestTimer.Start();
        }