Content originally posted in LPCWare by bavarian on Wed Sep 25 00:50:21 MST 2013
If the image data is not available as a const array in a memory mapped area, emWin also supports loading of image data from streaming devices like an SD card or SPI, or UART or whatever.
As Wouter already mentioned, you need to adapt the GetData function according to your enviroment. Look into the emWin docu in chapter "Displaying bitmap files / Getting data with the ...Ex() functions", there is a meaningful example.
An example for an SD card file system for LPC1800/4300 can be found in in the LPCopen software package in .\lpcopen_v1.03\applications\lpc18xx_43xx\examples\periph\periph_sdmmc.
For other MCUs there are similar examples, either from us or 3rd parties or from the community. Just Google for it.
Regards,
NXP Support.