Oct. 18, 2018 Page 2of 18 Rev 1.00
1INTRODUCTION...................................................................................................................... 3
2EMWIN BSP DIRECTORY STRUCTURE ....................................................................... 4
2.1 Sample Codes (sampleCode\NuMaker) ................................................................................... 4
2.2 Configuration Files (ThirdParty\emWin\Config)..................................................................... 4
2.3 Documents (ThirdParty\emWin\Doc)........................................................................................ 4
2.4 Include Files (ThirdParty\emWin\Include) ............................................................................... 4
2.5 Library (ThirdParty\emWin\Lib)................................................................................................. 4
2.6 Tools (ThirdParty\emWin\Tool) ................................................................................................. 5
3EMWIN SAMPLE CODE ....................................................................................................... 6
3.1 Project Structure.......................................................................................................................... 6
3.2 System Initialization.................................................................................................................... 7
3.3 emWin Initialization ..................................................................................................................... 9
3.4 Build emWin Project.................................................................................................................... 9
3.5 Download and Run .................................................................................................................... 10
3.6 Touch Screen.............................................................................................................................. 10
4EMWIN GUIBUILDER..........................................................................................................13
4.1 Create Widget............................................................................................................................. 13
4.2 Handle Widget Event................................................................................................................. 13
5CHANGE DISPLAY PANEL...............................................................................................15
5.1 emWin Display Configuration.................................................................................................. 15
5.2 Display Driver............................................................................................................................. 15