16-color, 4bpp using custom palette under emwin

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by wendtr on Fri Apr 19 16:45:04 MST 2013

I am intending on running emWin using built in RAM only.  I do not want to use more than half of the built in RAM for display buffering, and our application allows us to run the display using a fixed, custom 16-color palette (which can be themed) using 4bpp mappings.  This would utilize roughly 35K of RAM for a 320x240 LCD.  Is there an example of the code required to set this up?  I am pretty sure the LPC1788 supports this mode.