Template for creating new programs for the LPC4088 Display Module
Dependencies: DMBasicGUI DMSupport
Fork of lpc4088_displaymodule_hello_world by
A minimal example showing how to initialize the display module and draw a message on the display.
This project can be selected as a template when creating a new project based on the LPC4088 Display Module.
Information
This project works on both the 4.3" and 5" display modules.
This is what it looks like:
dm_board_config.h@3:68bfac52f867, 2015-03-09 (annotated)
- Committer:
- alindvall
- Date:
- Mon Mar 09 15:28:12 2015 +0000
- Revision:
- 3:68bfac52f867
- Parent:
- 1:00c54e50014c
- Child:
- 4:5077afc9f0f4
Updated version of the DMSupport and DMBasicGUI libraries
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
embeddedartists | 0:8ef5f57e33dc | 1 | /* |
embeddedartists | 0:8ef5f57e33dc | 2 | * Copyright 2014 Embedded Artists AB |
embeddedartists | 0:8ef5f57e33dc | 3 | * |
embeddedartists | 0:8ef5f57e33dc | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
embeddedartists | 0:8ef5f57e33dc | 5 | * you may not use this file except in compliance with the License. |
embeddedartists | 0:8ef5f57e33dc | 6 | * You may obtain a copy of the License at |
embeddedartists | 0:8ef5f57e33dc | 7 | * |
embeddedartists | 0:8ef5f57e33dc | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
embeddedartists | 0:8ef5f57e33dc | 9 | * |
embeddedartists | 0:8ef5f57e33dc | 10 | * Unless required by applicable law or agreed to in writing, software |
embeddedartists | 0:8ef5f57e33dc | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
embeddedartists | 0:8ef5f57e33dc | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
embeddedartists | 0:8ef5f57e33dc | 13 | * See the License for the specific language governing permissions and |
embeddedartists | 0:8ef5f57e33dc | 14 | * limitations under the License. |
embeddedartists | 0:8ef5f57e33dc | 15 | */ |
embeddedartists | 0:8ef5f57e33dc | 16 | |
embeddedartists | 0:8ef5f57e33dc | 17 | #ifndef DM_BOARD_CONFIG_H |
embeddedartists | 0:8ef5f57e33dc | 18 | #define DM_BOARD_CONFIG_H |
embeddedartists | 0:8ef5f57e33dc | 19 | |
embeddedartists | 0:8ef5f57e33dc | 20 | // Template to use for the project-specific settings. Copy this file to your project, |
embeddedartists | 0:8ef5f57e33dc | 21 | // rename it to dm_board_config.h and uncomment the wanted features below: |
embeddedartists | 0:8ef5f57e33dc | 22 | |
embeddedartists | 0:8ef5f57e33dc | 23 | // #define DM_BOARD_USE_USB_DEVICE |
embeddedartists | 0:8ef5f57e33dc | 24 | // #define DM_BOARD_USE_USB_HOST |
embeddedartists | 0:8ef5f57e33dc | 25 | // #define DM_BOARD_USE_MCI_FS |
embeddedartists | 0:8ef5f57e33dc | 26 | // #define DM_BOARD_USE_QSPI_FS |
embeddedartists | 0:8ef5f57e33dc | 27 | // #define DM_BOARD_USE_QSPI |
embeddedartists | 0:8ef5f57e33dc | 28 | #define DM_BOARD_USE_DISPLAY |
embeddedartists | 0:8ef5f57e33dc | 29 | #define DM_BOARD_USE_TOUCH |
embeddedartists | 0:8ef5f57e33dc | 30 | // #define DM_BOARD_USE_ETHERNET |
embeddedartists | 0:8ef5f57e33dc | 31 | #define DM_BOARD_USE_FAST_UART |
alindvall | 3:68bfac52f867 | 32 | // #define DM_BOARD_USE_USBSERIAL_IN_RTOSLOG |
embeddedartists | 0:8ef5f57e33dc | 33 | // #define DM_BOARD_DISABLE_STANDARD_PRINTF |
embeddedartists | 0:8ef5f57e33dc | 34 | // #define DM_BOARD_ENABLE_MEASSURING_PINS |
embeddedartists | 0:8ef5f57e33dc | 35 | #define DM_BOARD_USE_REGISTRY |
embeddedartists | 1:00c54e50014c | 36 | #define DM_BOARD_USE_BUILTIN_IMAGES |
embeddedartists | 0:8ef5f57e33dc | 37 | |
embeddedartists | 0:8ef5f57e33dc | 38 | #endif |