Esempio n. 1
0
    public static void Main()
    {
      // Read the RTC first of all
      RealTimeClock.Instance.SyncWithNetduino();

      Logger.Instance.LogInfo("Bootstrapper started");
      var s = HardwareInfo.Instance.GetNetworkInterfaceInfo();
      Microsoft.SPOT.Debug.Print(s.ToString());

      var firmware = new Power();
      firmware.StartAppInBackground();
      var web = new WebControl();
      web.Start(firmware);

      System.Threading.Thread.Sleep(-1); // todo: should this be here?

    }