Snippet - FEZ Cerberus and N18 Display Library

I just posted FEZ Cerberus and N18 Display Library on Codeshare. Feel free to discuss and make suggestions here.



How can I change this lines to MF4.3?

if (Util.SetSpecialDisplayConfig(this.config, Util.BPP_Type.BPP16_BGR_BE, (int)value,
this.currentOrientation = value;
throw new ArgumentException();

Thank you.

@ candelo - should help you.

Thank you, but if I use only:

OutputPort RESET_PIN;
            OutputPort BACKLIGTH_PIN;

            RESET_PIN = new OutputPort(GHI.Pins.Generic.GetPin('A', 8), false);
            BACKLIGTH_PIN = new OutputPort(GHI.Pins.Generic.GetPin('A', 13), true);

            Display.Type = Display.DisplayType.Spi;
            Display.Width = 160;
            Display.Height = 128;
            Display.SpiConfiguration = new SPI.Configuration(GHI.Pins.Generic.GetPin('A', 4), true, 0, 0, true, true, 8000, SPI.SPI_module.SPI1);
            Display.ControlPin = GHI.Pins.Generic.GetPin('C', 3);
            Display.Bpp = Bitmaps.BitsPerPixel.BPP16_BGR_BE;

            var lcd = new Bitmap((int)Display.Width, (int)Display.Height);
            lcd.DrawEllipse(GT.Color.Blue, 10, 10, 10, 10);

my N18 only turn on the backlight.

What I need to do?

Thank you.

given your other post about Cerb40, this is the best code to use as the Cerb40 isn’t a true Gadgeteer board. I’d check your wiring since that’s the likely problem you have.