Program.cs 316 B

123456789101112131415
  1. namespace Receive
  2. {
  3. class Program
  4. {
  5. static void Main()
  6. {
  7. // mimics Arduino calling structure
  8. var receive = new Receive {RunLoop = true};
  9. receive.Setup();
  10. while (receive.RunLoop) receive.Loop();
  11. receive.Exit();
  12. }
  13. }
  14. }