Example description
This example shows how to setup emWin with a simple GUI and use of the touch screen. Prior to building this example, the emWin libraries need to be built.
Special connection requirements
There are no special connection requirements for this example.
Build procedures:
LPC18xx/43xx example quickstart for Keil uVision4
LPC18xx/43xx example quickstart for IAR EWARM
LPC18xx/43xx example quickstart for Code Red Xpresso
Supported boards and board setup:
Keil 1857 evaluation boards
Keil 4357 evaluation boards
Submitting LPCOpen issues:
Community support for LPCOpen
GUI buffers required for emwin library.
Definition at line 89 of file main.c.
| #define GUI_BUF_ADDR 0x28050000 |
| #define GUI_NUMBYTES ((1024 * 1024) * 2) |
| #define LCD_HEIGHT BOARD_LCD.LPP |
| #define LCD_WIDTH BOARD_LCD.PPL |
| static void lcdInit |
( |
void |
| ) |
|
|
static |
Main function.
Main program body.
- Returns
- Nothing
Definition at line 166 of file main.c.
| void SysTick_Handler |
( |
void |
| ) |
|
SysTick handler sub-routine (1ms)
SysTick 1mS tick handler.
- Returns
- Nothing
Definition at line 137 of file main.c.
| U32 GUI_Block_Size = 0x128 |
GUI block size
Definition at line 93 of file main.c.
GUI buffer
Definition at line 94 of file main.c.
GUI buffer size
Definition at line 92 of file main.c.
System Tick count value.
Systick 1mS clock required for emWin time functions
Definition at line 99 of file main.c.