
Oct. 04, 2018
Page
6
of 18
Rev 1.00
M480 emWin
3
emWin Sample Code
There are two emWin sample code in the M480 BSP SampleCode directory:
emWin_GUIDemo
: utilizes the emWin library to demonstrate widgets feature;
emWin_SimpleDemo
: utilizes the emWin library to demonstrate interactive feature.
3.1 Project Structure
The following uses emWin_SimpleDemo as a sample to explain the emWin project structure
in BSP. This sample contains a frame window, four buttons, a text and a text editor. User can
update the number shown in the text field by clicking four buttons shown on the display panel.