
Oct. 18, 2018
Page
7
of 18
Rev 1.00
NUC126 emWin
The project contains two targets:
emWin_SimpleDemo_ILI9341
: use ILI9341 touch panel;
emWin_SimpleDemo_ST7735
:
use ST7735 touch panel.
User can switch between different targets using the pull down menu marked in the red
rectangle shown below.
3.2 System Initialization
The system initialization code is located in main function, including peripheral clock
preparation, multi- function pin configuration, and UART debug port setting. Also, a 1000Hz
timer is configured to keep track of time elapsed.
int main(void)
{