diff --git a/lv_demo_conf.h b/lv_demo_conf.h index 8ccc681..cf6dcbf 100644 --- a/lv_demo_conf.h +++ b/lv_demo_conf.h @@ -16,16 +16,16 @@ /******************* * GENERAL SETTING *******************/ -#define LV_EX_PRINTF 0 /*Enable printf-ing data in demoes and examples*/ -#define LV_EX_KEYBOARD 0 /*Add PC keyboard support to some examples (`lv_drivers` repository is required)*/ -#define LV_EX_MOUSEWHEEL 0 /*Add 'encoder' (mouse wheel) support to some examples (`lv_drivers` repository is required)*/ +#define LV_EX_PRINTF 1 /*Enable printf-ing data in demoes and examples*/ +#define LV_EX_KEYBOARD 1 /*Add PC keyboard support to some examples (`lv_drivers` repository is required)*/ +#define LV_EX_MOUSEWHEEL 1 /*Add 'encoder' (mouse wheel) support to some examples (`lv_drivers` repository is required)*/ /********************* * DEMO USAGE *********************/ /*Show some widget*/ -#define LV_USE_DEMO_WIDGETS 0 +#define LV_USE_DEMO_WIDGETS 1 #if LV_USE_DEMO_WIDGETS #define LV_DEMO_WIDGETS_SLIDESHOW 0 #endif @@ -34,13 +34,13 @@ #define LV_USE_DEMO_PRINTER 0 /*Demonstrate the usage of encoder and keyboard*/ -#define LV_USE_DEMO_KEYPAD_AND_ENCODER 0 +#define LV_USE_DEMO_KEYPAD_AND_ENCODER 1 /*Benchmark your system*/ -#define LV_USE_DEMO_BENCHMARK 0 +#define LV_USE_DEMO_BENCHMARK 1 /*Stress test for LVGL*/ -#define LV_USE_DEMO_STRESS 0 +#define LV_USE_DEMO_STRESS 1 /*Music player demo*/ #define LV_USE_DEMO_MUSIC 1 diff --git a/main/src/main.c b/main/src/main.c index c15d92a..ee40a6c 100644 --- a/main/src/main.c +++ b/main/src/main.c @@ -63,13 +63,11 @@ int main(int argc, char **argv) /*Initialize the HAL (display, input devices, tick) for LVGL*/ hal_init(); -// lv_demo_widgets(); - /* For printer demo set resolution to 800x480 */ -// lv_demo_printer(); + lv_demo_widgets(); // lv_demo_keypad_encoder(); // lv_demo_benchmark(); // lv_demo_stress(); - lv_demo_music(); +// lv_demo_music(); while (1) { /* Periodically call the lv_task handler.