Example description
This example shows how to setup emWin and do simple graphics. 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 86 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 routine for emWni Hello World example.
Main program body.
- Returns
- Nothing
Definition at line 142 of file main.c.
| void SysTick_Handler |
( |
void |
| ) |
|
Systick handler.
SysTick 1mS tick handler.
- Returns
- Nothing
Definition at line 133 of file main.c.
| U32 GUI_Block_Size = 0x128 |
GUI block size
Definition at line 90 of file main.c.
GUI buffer
Definition at line 91 of file main.c.
GUI buffer size
Definition at line 89 of file main.c.
System Tick count value.
Systick 1mS clock required for emWin time functions
Definition at line 96 of file main.c.