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

Committer:
alindvall
Date:
Tue Apr 28 11:49:03 2015 +0000
Revision:
29:be8b784873f5
Parent:
26:f07df116f3c9
Updated to latest version of the DMSupport library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
embeddedartists 13:57e65aba9802 1 /*
embeddedartists 13:57e65aba9802 2 * Copyright 2014 Embedded Artists AB
embeddedartists 13:57e65aba9802 3 *
embeddedartists 13:57e65aba9802 4 * Licensed under the Apache License, Version 2.0 (the "License");
embeddedartists 13:57e65aba9802 5 * you may not use this file except in compliance with the License.
embeddedartists 13:57e65aba9802 6 * You may obtain a copy of the License at
embeddedartists 13:57e65aba9802 7 *
embeddedartists 13:57e65aba9802 8 * http://www.apache.org/licenses/LICENSE-2.0
embeddedartists 13:57e65aba9802 9 *
embeddedartists 13:57e65aba9802 10 * Unless required by applicable law or agreed to in writing, software
embeddedartists 13:57e65aba9802 11 * distributed under the License is distributed on an "AS IS" BASIS,
embeddedartists 13:57e65aba9802 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
embeddedartists 13:57e65aba9802 13 * See the License for the specific language governing permissions and
embeddedartists 13:57e65aba9802 14 * limitations under the License.
embeddedartists 13:57e65aba9802 15 */
embeddedartists 13:57e65aba9802 16
embeddedartists 13:57e65aba9802 17 #ifndef APP_STATUS_H
embeddedartists 13:57e65aba9802 18 #define APP_STATUS_H
embeddedartists 13:57e65aba9802 19
embeddedartists 13:57e65aba9802 20 #include "App.h"
embeddedartists 13:57e65aba9802 21 #include "DMBoard.h"
embeddedartists 13:57e65aba9802 22 #include "lpc_swim.h"
embeddedartists 13:57e65aba9802 23 #include "ImageButton.h"
embeddedartists 13:57e65aba9802 24
embeddedartists 13:57e65aba9802 25 /**
embeddedartists 26:f07df116f3c9 26 * An App example showing static information.
embeddedartists 13:57e65aba9802 27 *
embeddedartists 13:57e65aba9802 28 * The purpose of this example is to show some of the graphics primitives in
embeddedartists 13:57e65aba9802 29 * the SWIM library.
embeddedartists 13:57e65aba9802 30 */
embeddedartists 13:57e65aba9802 31 class AppStatus : public App {
embeddedartists 13:57e65aba9802 32 public:
embeddedartists 13:57e65aba9802 33
embeddedartists 26:f07df116f3c9 34 AppStatus();
embeddedartists 26:f07df116f3c9 35 virtual ~AppStatus();
embeddedartists 13:57e65aba9802 36
embeddedartists 13:57e65aba9802 37 virtual bool setup();
embeddedartists 13:57e65aba9802 38 virtual void runToCompletion();
embeddedartists 13:57e65aba9802 39 virtual bool teardown();
embeddedartists 13:57e65aba9802 40
embeddedartists 13:57e65aba9802 41 private:
embeddedartists 13:57e65aba9802 42 Display* _disp;
embeddedartists 13:57e65aba9802 43 SWIM_WINDOW_T* _win;
embeddedartists 13:57e65aba9802 44 void* _fb;
embeddedartists 13:57e65aba9802 45 ImageButton* _btn;
embeddedartists 13:57e65aba9802 46
embeddedartists 13:57e65aba9802 47 void draw();
embeddedartists 13:57e65aba9802 48 };
embeddedartists 13:57e65aba9802 49
embeddedartists 13:57e65aba9802 50 #endif