Example of using the LVGL (8.3.4) with the MbedOS (6.16 - bare metal) on the Disco-F746NG board
Dependencies: BSP_DISCO_F746NG
Diff: main.cpp
- Revision:
- 2:afc050526249
- Parent:
- 1:627f26953c53
- Child:
- 3:4f5dc253eb7b
--- a/main.cpp Tue Apr 07 08:03:55 2020 +0000 +++ b/main.cpp Tue Apr 07 08:06:45 2020 +0000 @@ -1,9 +1,9 @@ -//#pragma -O0 +//Notebook page https://os.mbed.com/users/JohnnyK/notebook/how-start-with-the-littlevgl/ #include "mbed.h" #include "lvgl/lvgl.h" #include "lv_port_disp.h" #include "lv_port_indev.h" -//#include "demo.h" //Comment/uncomment will switch between LittlevGL demo and Hello word example +#include "demo.h" //Comment/uncomment will switch between LittlevGL demo and Hello word example #define LVGL_TICK 5 //Time tick value for lvgl in ms (1-10msa) #define TICKER_TIME 0.001 * LVGL_TICK //modified to miliseconds