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:
Diff: AppImageViewer.cpp
- Revision:
- 16:77f4f42eb6a7
- Parent:
- 13:57e65aba9802
- Child:
- 18:715f542538b3
--- a/AppImageViewer.cpp Tue Jan 13 08:22:02 2015 +0000 +++ b/AppImageViewer.cpp Sat Jan 17 14:17:51 2015 +0100 @@ -214,10 +214,14 @@ // The button must be drawn on the current framebuffer _btn->draw(_win->fb); - // Wait for touches + // Wait for touches, but the AppLauncher is already listening + // for new touch event and sends a signal to its thread which + // is the same as runs this function so it is enough to wait + // for that signal. TouchPanel* touch = DMBoard::instance().touchPanel(); - TouchPanel::touchCoordinate_t coord; + touch_coordinate_t coord; while(!done) { + Thread::signal_wait(0x1); if (touch->read(coord) == TouchPanel::TouchError_Ok) { if (_btn->handle(coord.x, coord.y, coord.z > 0)) { _btn->draw();