Example using the support package for LPC4088 DisplayModule

Dependencies:   DMBasicGUI DMSupport

Example using a lot of the features in the software package for the LPC4088 Display Module.

This project can be selected as a template when creating a new project based on the LPC4088 Display Module.

Information

This project works on the 4.3" display modules.

Some of the apps works on the 5" display modules. The ImageViewer and Slideshow app will show the images distorted as it does not take the resolution into consideration.

Information

The USB Status app is disabled. The Image viewer looks for images in the root of SD cards, USB memory sticks or the file system on the QSPI flash. The Slideshow app expects to find a slideshow script in /mci/elec14/ea_logo.txt.

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

/media/uploads/embeddedartists/everything_cap_000.png /media/uploads/embeddedartists/everything_cap_001.png /media/uploads/embeddedartists/everything_cap_003.png /media/uploads/embeddedartists/everything_cap_004.png /media/uploads/embeddedartists/everything_cap_006.png /media/uploads/embeddedartists/everything_cap_008.png

Revision:
14:73f6c425b2b5
Parent:
13:57e65aba9802
Child:
16:77f4f42eb6a7
--- a/AppNetworkSettings.cpp	Thu Jan 08 19:31:23 2015 +0100
+++ b/AppNetworkSettings.cpp	Mon Jan 12 10:36:07 2015 +0100
@@ -281,7 +281,21 @@
     }
 
     if (!abort) {
-      //TODO: Apply settings
+#if defined(DM_BOARD_USE_REGISTRY)
+      Registry* reg = DMBoard::instance().registry();
+      RtosLog* log = DMBoard::instance().logger();
+      char buf[16] = {0};
+      sprintf(buf, "%d.%d.%d.%d", _values[0], _values[1], _values[2], _values[3]);
+      reg->setValue("IP Address", buf);
+      log->printf("New STATIC IP Address: %s\n", buf);
+      sprintf(buf, "%d.%d.%d.%d", _values[4], _values[5], _values[6], _values[7]);
+      reg->setValue("Net Mask", buf);
+      log->printf("New STATIC Net Mask:   %s\n", buf);
+      sprintf(buf, "%d.%d.%d.%d", _values[8], _values[9], _values[10], _values[11]);
+      reg->setValue("Gateway", buf);
+      log->printf("New STATIC Gateway:    %s\n", buf);
+      reg->store();
+#endif
     }
     
     // User has clicked the button, restore the original FB