/// <summary>This method runs automatically when the device is powered, and calls ProgramStarted.</summary>
 public static void Main() {
     // Important to initialize the Mainboard first
     Program.Mainboard = new GHIElectronics.Gadgeteer.FEZRaptor();
     Program p = new Program();
     p.InitializeModules();
     p.ProgramStarted();
     // Starts Dispatcher
     p.Run();
 }
示例#2
0
        /// <summary>This method runs automatically when the device is powered, and calls ProgramStarted.</summary>
        public static void Main()
        {
            // Important to initialize the Mainboard first
            Program.Mainboard = new GHIElectronics.Gadgeteer.FEZRaptor();
            Program p = new Program();

            p.InitializeModules();
            p.ProgramStarted();
            // Starts Dispatcher
            p.Run();
        }