Exemple #1
0
 static void Main(string[] args)
 {
     System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(Console.Out));
     System.Diagnostics.Trace.AutoFlush = true;
     Transport trans = new Transport();
     //@"C:\Users\sodi\YodiwoDev\sw\projects\grovepi"
     trans.Init(@"/usr/bin/python", "/home/pi/YodiwoDev/skywriter_transport.py");
     SkyWriterNode skywriternode = new SkyWriterNode(trans);
     skywriternode.Start();
     while (true)
         Task.Delay(500).Wait();
 }
Exemple #2
0
        static void Main(string[] args)
        {
            System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(Console.Out));
            System.Diagnostics.Trace.AutoFlush = true;
            Transport trans = new Transport();

            //@"C:\Users\sodi\YodiwoDev\sw\projects\grovepi"
            trans.Init(@"/usr/bin/python", "/home/pi/YodiwoDev/skywriter_transport.py");
            SkyWriterNode skywriternode = new SkyWriterNode(trans);

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