示例#1
0
 static void Main()
 {
     // mimics Arduino calling structure
     var simpleWatchdog = new SimpleBluetooth.SimpleWatchdog { RunLoop = true };
     simpleWatchdog.Setup();
     while (simpleWatchdog.RunLoop) simpleWatchdog.Loop();
     simpleWatchdog.Exit();
 }
示例#2
0
        static void Main()
        {
            // mimics Arduino calling structure
            var simpleWatchdog = new SimpleBluetooth.SimpleWatchdog {
                RunLoop = true
            };

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