Embedded Artists / lpc4088_displaymodule_shipped_demo

Dependencies:   DMBasicGUI DMSupport

This is the software that is flashed on the LPC4088 Display Modules before they are shipped from Embedded Artists.

Information

This project works on both the 4.3" and 5" display modules but requires different file systems to handle the different display resolutions.

For the 4.3" displays first drag-n-drop the media/fs_480_raw.fs5 (if you are using the new DAPLINK firmware use fs_480_raw.hex) file to the MBED drive and then drag-n-drop the demo itself. This way both the file system and software are up to date.

For the 5" displays first drag-n-drop the media/fs_800_raw.fsF (if you are using the new DAPLINK firmware use fs_800_raw.hex) file to the MBED drive and then drag-n-drop the demo itself. This way both the file system and software are up to date.

There is a prebuilt version of the demo binary here.

This is what it looks like on a 4.3" display:

/media/uploads/embeddedartists/demo480_cap_000.png /media/uploads/embeddedartists/demo480_cap_001.png /media/uploads/embeddedartists/demo480_cap_002.png /media/uploads/embeddedartists/demo480_cap_004.png /media/uploads/embeddedartists/demo480_cap_006.png /media/uploads/embeddedartists/demo480_cap_007.png /media/uploads/embeddedartists/demo480_cap_008.png
The first slide from the Slideshow:
/media/uploads/embeddedartists/demo480_cap_003.png
A couple of images from the Image Viewer
/media/uploads/embeddedartists/demo480_cap_009.png /media/uploads/embeddedartists/demo480_cap_010.png

Files at this revision

API Documentation at this revision

Comitter:
alindvall
Date:
Tue Apr 28 12:21:14 2015 +0000
Parent:
3:57de4d043115
Child:
5:6ca8470ba8f8
Commit message:
Updated to latest version of the DMSupport and DMBasicGUI libraries

Changed in this revision

AppImageViewer.cpp Show annotated file Show diff for this revision Revisions of this file
DMSupport.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/AppImageViewer.cpp	Mon Mar 23 13:49:19 2015 +0000
+++ b/AppImageViewer.cpp	Tue Apr 28 12:21:14 2015 +0000
@@ -193,6 +193,10 @@
         }
         _win->fb = fb;
         Image::ImageData_t* data = (Image::ImageData_t*)evt.value.p;
+        if ((data->width < _disp->width()) || (data->height < _disp->height())) {
+          // Clear background as the image is not full screen
+          memset(fb, 0, _disp->fbSize());
+        }
         swim_put_image_xy(_win, (COLOR_T*)data->pixels, data->width, data->height, (_disp->width()-data->width)/2, (_disp->height()-data->height)/2);
         free(data->pointerToFree);
         _mailbox.free(data);
@@ -264,4 +268,3 @@
 {
     _resOk = res;
 }
-
--- a/DMSupport.lib	Mon Mar 23 13:49:19 2015 +0000
+++ b/DMSupport.lib	Tue Apr 28 12:21:14 2015 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/Embedded-Artists/code/DMSupport/#07659b5d90ce
+http://developer.mbed.org/teams/Embedded-Artists/code/DMSupport/#e1cb4dd9bfeb
--- a/main.cpp	Mon Mar 23 13:49:19 2015 +0000
+++ b/main.cpp	Tue Apr 28 12:21:14 2015 +0000
@@ -567,7 +567,7 @@
   wait_ms(30);
   board->buzzer(440,50);
   
-  log->printf("\n\n---\nDemo for Embedded World 2015\nBuilt: " __DATE__ " at " __TIME__ "\n\n");
+  log->printf("\n\n---\nDemo flashed on new Display Modules.\nBuilt: " __DATE__ " at " __TIME__ "\n\n");
   
  
   Thread tAlive(aliveTask);