The out-of-the-box demo application flashed on all display modules before they are shipped.

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:
Fri Mar 20 14:04:25 2015 +0000
Parent:
1:91d796c1cdb1
Child:
3:57de4d043115
Commit message:
Fixed a couple of warnings

Changed in this revision

AppLauncherSpecial.cpp Show annotated file Show diff for this revision Revisions of this file
AppNetworkSettings.cpp Show annotated file Show diff for this revision Revisions of this file
AppRTCSettings.cpp Show annotated file Show diff for this revision Revisions of this file
dm_board_config.h Show annotated file Show diff for this revision Revisions of this file
--- a/AppLauncherSpecial.cpp	Fri Mar 20 14:55:34 2015 +0100
+++ b/AppLauncherSpecial.cpp	Fri Mar 20 14:04:25 2015 +0000
@@ -187,7 +187,7 @@
     
     // Wait for touches
     TouchPanel* touch = board->touchPanel();
-    FunctionPointer* fpOld = touch->setListener(new FunctionPointer(this, &AppLauncherSpecial::onTouchEvent));
+    touch->setListener(new FunctionPointer(this, &AppLauncherSpecial::onTouchEvent));
     touch_coordinate_t coord;
     while (true) {
         Thread::signal_wait(APP_SIGID_TOUCH);
@@ -254,10 +254,6 @@
           appToLaunch = NO_APPLICATION;
         }
     }
-    
-    // restore old touch listener (get our listener in return)
-    fpOld = touch->setListener(fpOld);
-    delete fpOld;
 }
 
 bool AppLauncherSpecial::teardown()
--- a/AppNetworkSettings.cpp	Fri Mar 20 14:55:34 2015 +0100
+++ b/AppNetworkSettings.cpp	Fri Mar 20 14:04:25 2015 +0000
@@ -270,7 +270,7 @@
     int lastPressed = NumButtons;
     Timer t;
     t.start();
-    int repeatAt;
+    int repeatAt = 0;
 
     uint32_t maxDelay = osWaitForever; 
     while(!done && !abort) {
--- a/AppRTCSettings.cpp	Fri Mar 20 14:55:34 2015 +0100
+++ b/AppRTCSettings.cpp	Fri Mar 20 14:04:25 2015 +0000
@@ -303,7 +303,7 @@
     int lastPressed = NumButtons;
     Timer t;
     t.start();
-    int repeatAt;
+    int repeatAt = 0;
 
     uint32_t maxDelay = osWaitForever; 
     while(!done && !abort) {
--- a/dm_board_config.h	Fri Mar 20 14:55:34 2015 +0100
+++ b/dm_board_config.h	Fri Mar 20 14:04:25 2015 +0000
@@ -29,11 +29,9 @@
 #define DM_BOARD_USE_TOUCH
 // #define DM_BOARD_USE_ETHERNET
 #define DM_BOARD_USE_FAST_UART
+// #define DM_BOARD_USE_USBSERIAL_IN_RTOSLOG
 // #define DM_BOARD_DISABLE_STANDARD_PRINTF
 // #define DM_BOARD_ENABLE_MEASSURING_PINS
-// #define DM_BOARD_BIOS_DEVELOPMENT
 #define DM_BOARD_USE_REGISTRY
 
 #endif
-
-