This example shows how to setup emWin and do simple graphics. Prior to building this example, the emWin libraries need to be built.
Build procedure: LPCOpen 18xx/43xx build instructions
Supported boards and board setup:
- Keil MCB1857 and MCB4357 boards
Submit bug reports for LPCOpen code here.
GUI buffers required for emwin library.
Definition at line 73 of file main.c.
#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.
- Returns
- Nothing
Definition at line 129 of file main.c.
void SysTick_Handler |
( |
void |
| ) |
|
Systick handler.
- Returns
- Nothing
Definition at line 120 of file main.c.
U32 GUI_Block_Size = 0x128 |
GUI block size
Definition at line 77 of file main.c.
GUI buffer
Definition at line 78 of file main.c.
GUI buffer size
Definition at line 76 of file main.c.
System Tick count value.
Systick 1mS clock required for emWin time functions
Definition at line 83 of file main.c.