Example program using the emWin GUI library.

Dependencies:   DMSupport DMemWin

This program shows how to use the emWin graphical library on the display modules.

The DMemWin library contains the porting layer needed to start working with emWin from Segger. Details about emWin can be found both segger.com as well as lpcware.com.

Warning

There are limitations on how the emWin library may be distributed and republished so it is not a part of this example. To get the code to compile follow the instructions in readme.h.

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

Information

This project can work on both the 4.3" and 5" display modules but it is completely dependant on which project is choosen from the Segger emWin samples page.

This project uses the Ticker Sample but it can be replaced by one from the Segger emWin samples page. However some of the samples use features that are not supported or use too high resolutions.

This is what it looks like when using the Ticker Sample:

/media/uploads/embeddedartists/emwin_cap_000.png /media/uploads/embeddedartists/emwin_cap_001.png /media/uploads/embeddedartists/emwin_cap_002.png

Committer:
alindvall
Date:
Tue Apr 28 11:52:32 2015 +0000
Revision:
3:19cbcaa84dd0
Parent:
2:4ba9f23c4c53
Updated to latest version of the DMSupport library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
alindvall 0:36d07e98a5b2 1 /*
alindvall 0:36d07e98a5b2 2 * Copyright 2014 Embedded Artists AB
alindvall 0:36d07e98a5b2 3 *
alindvall 0:36d07e98a5b2 4 * Licensed under the Apache License, Version 2.0 (the "License");
alindvall 0:36d07e98a5b2 5 * you may not use this file except in compliance with the License.
alindvall 0:36d07e98a5b2 6 * You may obtain a copy of the License at
alindvall 0:36d07e98a5b2 7 *
alindvall 0:36d07e98a5b2 8 * http://www.apache.org/licenses/LICENSE-2.0
alindvall 0:36d07e98a5b2 9 *
alindvall 0:36d07e98a5b2 10 * Unless required by applicable law or agreed to in writing, software
alindvall 0:36d07e98a5b2 11 * distributed under the License is distributed on an "AS IS" BASIS,
alindvall 0:36d07e98a5b2 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
alindvall 0:36d07e98a5b2 13 * See the License for the specific language governing permissions and
alindvall 0:36d07e98a5b2 14 * limitations under the License.
alindvall 0:36d07e98a5b2 15 */
alindvall 0:36d07e98a5b2 16
alindvall 0:36d07e98a5b2 17 #ifndef DM_BOARD_CONFIG_H
alindvall 0:36d07e98a5b2 18 #define DM_BOARD_CONFIG_H
alindvall 0:36d07e98a5b2 19
alindvall 0:36d07e98a5b2 20 // Template to use for the project-specific settings. Copy this file to your project,
alindvall 0:36d07e98a5b2 21 // rename it to dm_board_config.h and uncomment the wanted features below:
alindvall 0:36d07e98a5b2 22
alindvall 0:36d07e98a5b2 23 // #define DM_BOARD_USE_USB_DEVICE
alindvall 0:36d07e98a5b2 24 // #define DM_BOARD_USE_USB_HOST
alindvall 0:36d07e98a5b2 25 // #define DM_BOARD_USE_MCI_FS
alindvall 0:36d07e98a5b2 26 // #define DM_BOARD_USE_QSPI_FS
alindvall 0:36d07e98a5b2 27 // #define DM_BOARD_USE_QSPI
alindvall 0:36d07e98a5b2 28 #define DM_BOARD_USE_DISPLAY
alindvall 0:36d07e98a5b2 29 #define DM_BOARD_USE_TOUCH
alindvall 0:36d07e98a5b2 30 // #define DM_BOARD_USE_ETHERNET
alindvall 0:36d07e98a5b2 31 #define DM_BOARD_USE_FAST_UART
alindvall 2:4ba9f23c4c53 32 // #define DM_BOARD_USE_USBSERIAL_IN_RTOSLOG
alindvall 0:36d07e98a5b2 33 // #define DM_BOARD_DISABLE_STANDARD_PRINTF
alindvall 0:36d07e98a5b2 34 // #define DM_BOARD_ENABLE_MEASSURING_PINS
alindvall 0:36d07e98a5b2 35 // #define DM_BOARD_USE_REGISTRY
alindvall 0:36d07e98a5b2 36
alindvall 0:36d07e98a5b2 37 #endif