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:
Diff: dm_board_config.h
- Revision:
- 0:36d07e98a5b2
- Child:
- 2:4ba9f23c4c53
diff -r 000000000000 -r 36d07e98a5b2 dm_board_config.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dm_board_config.h Fri Feb 27 11:46:25 2015 +0000 @@ -0,0 +1,38 @@ +/* + * Copyright 2014 Embedded Artists AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef DM_BOARD_CONFIG_H +#define DM_BOARD_CONFIG_H + +// Template to use for the project-specific settings. Copy this file to your project, +// rename it to dm_board_config.h and uncomment the wanted features below: + +// #define DM_BOARD_USE_USB_DEVICE +// #define DM_BOARD_USE_USB_HOST +// #define DM_BOARD_USE_MCI_FS +// #define DM_BOARD_USE_QSPI_FS +// #define DM_BOARD_USE_QSPI +#define DM_BOARD_USE_DISPLAY +#define DM_BOARD_USE_TOUCH +// #define DM_BOARD_USE_ETHERNET +#define DM_BOARD_USE_FAST_UART +// #define DM_BOARD_DISABLE_STANDARD_PRINTF +// #define DM_BOARD_ENABLE_MEASSURING_PINS +// #define DM_BOARD_BIOS_DEVELOPMENT +// #define DM_BOARD_USE_REGISTRY +// #define DM_BOARD_USE_BUILTIN_IMAGES + +#endif