Ejemplo n.º 1
0
 static void Main()
 {
     // mimics Arduino calling structure
     var sendAndReceiveBinaryArguments = new SendAndReceiveBinaryArguments { RunLoop = true };
     sendAndReceiveBinaryArguments.Setup();
     while (sendAndReceiveBinaryArguments.RunLoop) sendAndReceiveBinaryArguments.Loop();
     sendAndReceiveBinaryArguments.Exit();
 }
Ejemplo n.º 2
0
        static void Main()
        {
            // mimics Arduino calling structure
            var sendAndReceiveBinaryArguments = new SendAndReceiveBinaryArguments {
                RunLoop = true
            };

            sendAndReceiveBinaryArguments.Setup();
            while (sendAndReceiveBinaryArguments.RunLoop)
            {
                sendAndReceiveBinaryArguments.Loop();
            }
            sendAndReceiveBinaryArguments.Exit();
        }