update lvgl demo

This commit is contained in:
supowang
2019-10-12 16:54:39 +08:00
parent 3260ba3161
commit d6fef329f5
4 changed files with 26 additions and 9 deletions

View File

@@ -3,6 +3,14 @@
#include "tft.h"
#include "touchpad.h"
#include "lv_examples/lv_apps/demo/demo.h"
#include "lv_theme.h"
#include "lv_hal_disp.h"
#include "lv_test_theme_1.h"
#include "lv_test_theme_2.h"
#include "sysmon.h"
#include "benchmark.h"
#include "terminal.h"
#include "tpcal.h"
void application_entry(void *arg)
{
@@ -14,8 +22,17 @@ void application_entry(void *arg)
lv_init();
tft_init();
touchpad_init();
//benchmark_create();
//sysmon_create();
//terminal_create();
//tpcal_create();
//demo_create();
//lv_theme_t *th = lv_theme_alien_init(21, NULL);
//lv_test_theme_1(th);
lv_test_theme_2();
demo_create();
while (1)
{
tos_task_delay(5);