![](/media/cache/group/logo.png.50x50_q85.jpg)
A board support package for the LPC4088 Display Module.
Dependencies: DM_HttpServer DM_USBHost
Dependents: lpc4088_displaymodule_emwin lpc4088_displaymodule_demo_sphere sampleGUI sampleEmptyGUI ... more
Fork of DMSupport by
Diff: Display/BiosDisplay.h
- Revision:
- 39:e1cb4dd9bfeb
- Parent:
- 31:d47cffcb0a3e
--- a/Display/BiosDisplay.h Wed Apr 15 09:41:56 2015 +0200 +++ b/Display/BiosDisplay.h Tue Apr 28 11:47:20 2015 +0000 @@ -48,7 +48,7 @@ DisplayError init(); // From the Display interface - virtual DisplayError powerUp(void* framebuffer, Resolution wanted = Resolution_16bit_rgb565); + virtual DisplayError powerUp(void* framebuffer, Resolution wanted = Resolution_16bit_rgb565, FrameRate_t rate = FrameRate_Normal); virtual DisplayError powerDown(); virtual DisplayError backlight(int percent); virtual uint16_t width(); @@ -84,6 +84,8 @@ // hide assign operator BiosDisplay& operator=(const BiosDisplay&); ~BiosDisplay(); + + uint32_t bpp(Resolution res) { return ((res == Resolution_16bit_rgb565) ? 2 : 4); } }; #endif /* BIOSDISPLAY_H */