lvgl的codeblocks仿真工程
代码说明:
LVGL的codeblocks仿真工程,都配置好的,可以直接打开运行 【核心代码】int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine, int nCmdShow) { /*Initialize LittlevGL*/ lv_init(); /*Initialize the HAL for LittlevGL*/ lv_win32_init(hInstance, SW_SHOWNORMAL, 800, 480, NULL); /*Run the demo*/ lv_demo_widgets(); while(!lv_win32_quit_signal) { /* Periodically call the lv_task handler. * It could be done in a timer interrupt or an OS task too.*/ lv_task_handler(); usleep(10000); /*Just to let the system breath*/ } return 0; }
下载说明:请别用迅雷下载,失败请重下,重下不扣分!