示例#1
0
        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();
        }