private void Demo35Video() { //Configuration.LCD.EnableLCDBootupMessages(false); demo = new DemoManager(320, 240); demo.VideoDemo(); }
private void Demo22SPI() { display = new DisplayS22(5); demo = new DemoManager(240, 320, delegate(Bitmap bitmap, Rect dirtyArea) { display.SimpleGraphics.DisplayImage(bitmap, (uint)dirtyArea.X, (uint)dirtyArea.Y, (uint)dirtyArea.X, (uint)dirtyArea.Y, (uint)dirtyArea.Width, (uint)dirtyArea.Height); }); demo.QuickDemo(); }
private void Run() { //bool reset = false; //if (reset) // LCDManager.SetLCDConfiguration_800_480(); //if (reset) //{ // Util.FlushExtendedWeakReferences(); // Microsoft.SPOT.Hardware.PowerState.RebootDevice(false); //} //demo = new Demo(800, 480); //demo.QuickDemo(); demo = new DemoManager(320, 240); demo.LibraryDemo(); }
private void Demo35() { //if (!Utils.IsEmulator) //{ // bool reboot = false; // //reboot |= LCDManager.SetLCDConfiguration_800_480(); // reboot |= LCDManager.SetLCDConfiguration_320_240(); // //reboot |= LCDManager.SetBootLogo(null, 0, 0); // reboot |= LCDManager.SetLCDBootupMessages(false); // if (reboot) // { // Thread.Sleep(10000); // Util.FlushExtendedWeakReferences(); // PowerState.RebootDevice(false); // } //} demo = new DemoManager(320, 240); //demo.QuickDemo(); demo.CrashDemo(); }