![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Example of using the LittlevGL with the MbedOS (bare metal) on the Disco-F746NG board and also the GPU STM32 chrom-art accelerator is used
Dependencies: BSP_DISCO_F746NG
Diff: main.cpp
- Revision:
- 2:afc050526249
- Parent:
- 1:627f26953c53
- Child:
- 3:1c9c6f2a7fcf
--- 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