Subdirectory provided by Embedded Artists

Dependencies:   DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos mbed-src

Dependents:   lpc4088_displaymodule_hello_world_Sept_2018

Fork of DMSupport by Embedded Artists

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 */