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:
The first slide from the Slideshow:
A couple of images from the Image Viewer
Diff: AppNetworkSettings.cpp
- Revision:
- 5:6ca8470ba8f8
- Parent:
- 2:229f88d6f56b
diff -r a7cbb22e4348 -r 6ca8470ba8f8 AppNetworkSettings.cpp --- a/AppNetworkSettings.cpp Tue Apr 28 12:21:14 2015 +0000 +++ b/AppNetworkSettings.cpp Tue Nov 05 09:11:36 2019 +0000 @@ -274,7 +274,7 @@ uint32_t maxDelay = osWaitForever; while(!done && !abort) { - Thread::signal_wait(0x1, maxDelay); + ThisThread::flags_wait_all_for(0x1, maxDelay); if (touch->read(coord) == TouchPanel::TouchError_Ok) { for (int i = 0; i < NumButtons; i++) { if (_buttons[i]->handle(coord.x, coord.y, coord.z > 0)) { @@ -303,13 +303,13 @@ Registry* reg = DMBoard::instance().registry(); RtosLog* log = DMBoard::instance().logger(); char buf[16] = {0}; - sprintf(buf, "%lu.%lu.%lu.%lu", _values[0], _values[1], _values[2], _values[3]); + sprintf(buf, "%u.%u.%u.%u", _values[0], _values[1], _values[2], _values[3]); reg->setValue("IP Address", buf); log->printf("New STATIC IP Address: %s\n", buf); - sprintf(buf, "%lu.%lu.%lu.%lu", _values[4], _values[5], _values[6], _values[7]); + sprintf(buf, "%u.%u.%u.%u", _values[4], _values[5], _values[6], _values[7]); reg->setValue("Net Mask", buf); log->printf("New STATIC Net Mask: %s\n", buf); - sprintf(buf, "%lu.%lu.%lu.%lu", _values[8], _values[9], _values[10], _values[11]); + sprintf(buf, "%u.%u.%u.%u", _values[8], _values[9], _values[10], _values[11]); reg->setValue("Gateway", buf); log->printf("New STATIC Gateway: %s\n", buf); reg->store();