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