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: AppImageViewer.cpp
- Revision:
- 5:6ca8470ba8f8
- Parent:
- 4:a7cbb22e4348
--- a/AppImageViewer.cpp Tue Apr 28 12:21:14 2015 +0000 +++ b/AppImageViewer.cpp Tue Nov 05 09:11:36 2019 +0000 @@ -176,7 +176,8 @@ _active = 1; - Thread* tLoader = new Thread(loaderTask, this, osPriorityNormal, 8192); + Thread* tLoader = new Thread(osPriorityNormal, 8192); + tLoader->start(callback(loaderTask, this)); bool first = true; Timer t; @@ -205,7 +206,7 @@ t.start(); } else { while (t.read_ms() < 2000) { - Thread::wait(100); + ThisThread::sleep_for(100); } } _disp->setFramebuffer(fb); @@ -230,7 +231,7 @@ TouchPanel* touch = DMBoard::instance().touchPanel(); touch_coordinate_t coord; while(!done) { - Thread::signal_wait(0x1); + ThisThread::flags_wait_all(0x1); if (touch->read(coord) == TouchPanel::TouchError_Ok) { if (_btn->handle(coord.x, coord.y, coord.z > 0)) { _btn->draw();