Esempio n. 1
0
 static void Main(string[] args)
 {
     System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(Console.Out));
     System.Diagnostics.Trace.AutoFlush = true;
     Transport transport = new Transport();
     transport.Init("/usr/bin/python", "/home/pi/YodiwoDev/imageclient.py");
     RaspberryNode raspberrynode = new RaspberryNode(transport);
     raspberrynode.Start();
     while (true)
     {
         Task.Delay(500).Wait();
     }
 }
Esempio n. 2
0
        static void Main(string[] args)
        {
            System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(Console.Out));
            System.Diagnostics.Trace.AutoFlush = true;
            Transport transport = new Transport();

            transport.Init("/usr/bin/python", "/home/pi/YodiwoDev/imageclient.py");
            RaspberryNode raspberrynode = new RaspberryNode(transport);

            raspberrynode.Start();
            while (true)
            {
                Task.Delay(500).Wait();
            }
        }