Ejemplo 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();
     }
 }
Ejemplo 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();
            }
        }