Browse Source

添加的dio状态

语言设置
master
sc 1 week ago
parent
commit
b185a8ec12
  1. 2735
      .cproject
  2. 8
      applications/data/SC828_DATA_table.c
  3. 5
      applications/data/SC828_DATA_table.h
  4. 6
      applications/data/language.c
  5. 1
      applications/data/language.h
  6. 2
      applications/lvgl/guider/custom/custom.c
  7. 3
      applications/lvgl/guider/custom/custom.h
  8. 42
      applications/lvgl/guider/custom/lv_conf_ext.h
  9. 232
      applications/lvgl/guider/generated/events_init.c
  10. 4
      applications/lvgl/guider/generated/events_init.h
  11. 4
      applications/lvgl/guider/generated/gui_guider.c
  12. 98
      applications/lvgl/guider/generated/gui_guider.h
  13. 197
      applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_21.c
  14. 1368
      applications/lvgl/guider/generated/setup_scr_screen.c
  15. 4
      applications/lvgl/guider/generated/widgets_init.c
  16. 3
      applications/lvgl/guider/generated/widgets_init.h
  17. 360
      applications/lvgl/lv__user_gui.c

2735
.cproject

File diff suppressed because it is too large

8
applications/data/SC828_DATA_table.c

@ -105,6 +105,12 @@ IO_State_DIO di_table[] = {
{2080, 0, STR_MATERIAL3_FILL}, {2080, 0, STR_MATERIAL3_FILL},
{2081, 0, STR_MATERIAL3_HEAT}, {2081, 0, STR_MATERIAL3_HEAT},
{2082, 0, STR_MATERIAL3_STIR}, {2082, 0, STR_MATERIAL3_STIR},
{2083, 0, STR_NULL},
{2084, 0, STR_NULL},
{2085, 0, STR_NULL},
{2086, 0, STR_NULL},
{2087, 0, STR_NULL},
{2088, 0, STR_NULL},
}; };
// --- DIO 输出(3001~3066)--- // --- DIO 输出(3001~3066)---
IO_State_DIO do_table[] = { IO_State_DIO do_table[] = {
@ -174,6 +180,8 @@ IO_State_DIO do_table[] = {
{3064, 0, STR_DRAIN_PUMP}, // 排水泵 {3064, 0, STR_DRAIN_PUMP}, // 排水泵
{3065, 0, STR_HEAT_EXCHANGER_CONDENSATE}, // 热交换器冷凝水 {3065, 0, STR_HEAT_EXCHANGER_CONDENSATE}, // 热交换器冷凝水
{3066, 0, STR_HEAT_EXCHANGER_COOLING_WATER}, // 交换器排冷却水 {3066, 0, STR_HEAT_EXCHANGER_COOLING_WATER}, // 交换器排冷却水
{2067, 0, STR_NULL},
{2068, 0, STR_NULL},
}; };
//AIO状态表 //AIO状态表

5
applications/data/SC828_DATA_table.h

@ -4,6 +4,7 @@
#include <rtthread.h> #include <rtthread.h>
#include "stdbool.h" #include "stdbool.h"
#include "language.h" #include "language.h"
#include <lvgl.h>
// IO状态结构体(可扩展) // IO状态结构体(可扩展)
typedef struct { typedef struct {
@ -68,4 +69,8 @@ extern const unsigned char DATA_TABLE_SIZE;
void DATA_Table_Init(void);// void DATA_Table_Init(void);//
void DATA_INSTRUCTION_START(char p[25]); void DATA_INSTRUCTION_START(char p[25]);
void DATA_INSTRUCTION_STOP(); void DATA_INSTRUCTION_STOP();
rt_int16_t get_ai_value(int pin);
void get_ao_value(int pin,int16_t dat);
#endif #endif

6
applications/data/language.c

@ -200,7 +200,8 @@ static const char *text_en[STR_COUNT] = {
[STR_MAIN_PUMP_SPEED_SET] = "Main Pump Speed Setpoint", [STR_MAIN_PUMP_SPEED_SET] = "Main Pump Speed Setpoint",
[STR_FAN_SPEED_SET] = "Fan Speed Setpoint", [STR_FAN_SPEED_SET] = "Fan Speed Setpoint",
[STR_TARGET_PH_SET] = "Target pH Setpoint", [STR_TARGET_PH_SET] = "Target pH Setpoint",
[STR_PH_DEVICE_STATUS] = "pH Device Status" [STR_PH_DEVICE_STATUS] = "pH Device Status",
[STR_NULL] = "NULL"
}; };
// 中文字符串(UTF-8 编码) // 中文字符串(UTF-8 编码)
@ -399,7 +400,8 @@ static const char *text_zh[STR_COUNT] = {
[STR_MAIN_PUMP_SPEED_SET] = "\xE4\xB8\xBB\xE6\xB3\xB5\xE9\x80\x9F\xE5\xBA\xA6\xE8\xAE\xBE\xE5\xAE\x9A", // "主泵速度设定" [STR_MAIN_PUMP_SPEED_SET] = "\xE4\xB8\xBB\xE6\xB3\xB5\xE9\x80\x9F\xE5\xBA\xA6\xE8\xAE\xBE\xE5\xAE\x9A", // "主泵速度设定"
[STR_FAN_SPEED_SET] = "\xE9\xA3\x8E\xE6\x9C\xBA\xE9\x80\x9F\xE5\xBA\xA6\xE8\xAE\xBE\xE5\xAE\x9A", // "风机速度设定" [STR_FAN_SPEED_SET] = "\xE9\xA3\x8E\xE6\x9C\xBA\xE9\x80\x9F\xE5\xBA\xA6\xE8\xAE\xBE\xE5\xAE\x9A", // "风机速度设定"
[STR_TARGET_PH_SET] = "\xE7\x9B\xAE\xE6\xA0\x87PH\xE8\xAE\xBE\xE5\xAE\x9A", // "目标PH设定" [STR_TARGET_PH_SET] = "\xE7\x9B\xAE\xE6\xA0\x87PH\xE8\xAE\xBE\xE5\xAE\x9A", // "目标PH设定"
[STR_PH_DEVICE_STATUS] = "PH\xE8\xAE\xBE\xE5\xA4\x87\xE7\x8A\xB6\xE6\x80\x81" // "PH设备状态" [STR_PH_DEVICE_STATUS] = "PH\xE8\xAE\xBE\xE5\xA4\x87\xE7\x8A\xB6\xE6\x80\x81", // "PH设备状态"
[STR_NULL] = "NULL" // ""
}; };

1
applications/data/language.h

@ -198,6 +198,7 @@ typedef enum {
STR_FAN_SPEED_SET, STR_FAN_SPEED_SET,
STR_TARGET_PH_SET, STR_TARGET_PH_SET,
STR_PH_DEVICE_STATUS, STR_PH_DEVICE_STATUS,
STR_NULL,
STR_COUNT // 自动计数 STR_COUNT // 自动计数
} str_id_t; } str_id_t;

2
applications/lvgl/guider/custom/custom.c

@ -1,6 +1,4 @@
/* /*
#include <guider/custom/custom.h>
#include <gui_guider/custom/custom.h>
* Copyright 2023 NXP * Copyright 2023 NXP
* NXP Confidential and Proprietary. This software is owned or controlled by NXP and may only be used strictly in * NXP Confidential and Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing, * accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,

3
applications/lvgl/guider/custom/custom.h

@ -8,13 +8,12 @@
*/ */
#ifndef __CUSTOM_H_ #ifndef __CUSTOM_H_
#define __CUSTOM_H_ #define __CUSTOM_H_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <guider/generated/gui_guider.h> #include "guider/generated/gui_guider.h"
void custom_init(lv_ui *ui); void custom_init(lv_ui *ui);

42
applications/lvgl/guider/custom/lv_conf_ext.h

@ -0,0 +1,42 @@
/*
* Copyright 2023 NXP
* NXP Confidential and Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
* comply with and are bound by, such license terms. If you do not agree to be bound by the applicable license
* terms, then you may not retain, install, activate or otherwise use the software.
*/
/*
* lv_conf_ext.h for custom lvconf file.
* Created on: Feb 8, 2023
* example :
* #undef LV_FONT_FMT_TXT_LARGE
* #define LV_FONT_FMT_TXT_LARGE 1
*/
#ifndef LV_CONF_EXT_H
#define LV_CONF_EXT_H
/* common code begin */
/* common code end */
#if LV_USE_GUIDER_SIMULATOR
/* code for simulator begin */
/* code for simulator end */
#else
/* code for board begin */
/* code for board end */
#endif
#endif /* LV_CONF_EXT_H */

232
applications/lvgl/guider/generated/events_init.c

@ -1,6 +1,4 @@
/* /*
#include <guider/generated/events_init.h>
#include <gui_guider/generated/events_init.h>
* Copyright 2026 NXP * Copyright 2026 NXP
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in * NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing, * accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
@ -9,15 +7,243 @@
* terms, then you may not retain, install, activate or otherwise use the software. * terms, then you may not retain, install, activate or otherwise use the software.
*/ */
#include "events_init.h"
#include <stdio.h> #include <stdio.h>
#include "lvgl.h" #include "lvgl.h"
#include "gui_guider.h"
#if LV_USE_GUIDER_SIMULATOR && LV_USE_FREEMASTER #if LV_USE_GUIDER_SIMULATOR && LV_USE_FREEMASTER
#include "freemaster_client.h" #include "freemaster_client.h"
#endif #endif
static void screen_inf_img_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_inf_lock_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_inf_link_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_inf_run_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_w_start_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_w_edit_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_w_w_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_p_start_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_p_edit_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_p_delete_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_p_insert_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_set_Insert_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_set_Edit_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_set_Delete_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_set_Save_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
static void screen_sys_save_event_handler (lv_event_t *e)
{
lv_event_code_t code = lv_event_get_code(e);
switch (code) {
case LV_EVENT_CLICKED:
{
break;
}
default:
break;
}
}
void events_init_screen (lv_ui *ui)
{
lv_obj_add_event_cb(ui->screen_inf_img, screen_inf_img_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_inf_lock, screen_inf_lock_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_inf_link, screen_inf_link_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_inf_run, screen_inf_run_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_w_start, screen_w_start_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_w_edit, screen_w_edit_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_w_w, screen_w_w_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_p_start, screen_p_start_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_p_edit, screen_p_edit_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_p_delete, screen_p_delete_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_p_insert, screen_p_insert_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_set_Insert, screen_set_Insert_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_set_Edit, screen_set_Edit_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_set_Delete, screen_set_Delete_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_set_Save, screen_set_Save_event_handler, LV_EVENT_ALL, ui);
lv_obj_add_event_cb(ui->screen_sys_save, screen_sys_save_event_handler, LV_EVENT_ALL, ui);
}
void events_init(lv_ui *ui) void events_init(lv_ui *ui)
{ {

4
applications/lvgl/guider/generated/events_init.h

@ -9,16 +9,16 @@
#ifndef EVENTS_INIT_H_ #ifndef EVENTS_INIT_H_
#define EVENTS_INIT_H_ #define EVENTS_INIT_H_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <guider/generated/gui_guider.h> #include "gui_guider.h"
void events_init(lv_ui *ui); void events_init(lv_ui *ui);
void events_init_screen(lv_ui *ui);
#ifdef __cplusplus #ifdef __cplusplus
} }

4
applications/lvgl/guider/generated/gui_guider.c

@ -1,8 +1,4 @@
/* /*
#include <guider/generated/gui_guider.h>
#include <guider/generated/widgets_init.h>
#include <gui_guider/generated/gui_guider.h>
#include <gui_guider/generated/widgets_init.h>
* Copyright 2026 NXP * Copyright 2026 NXP
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in * NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing, * accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,

98
applications/lvgl/guider/generated/gui_guider.h

@ -23,10 +23,10 @@ typedef struct
lv_obj_t *screen_TITLE; lv_obj_t *screen_TITLE;
lv_obj_t *screen_inf_l; lv_obj_t *screen_inf_l;
lv_obj_t *screen_inf_t; lv_obj_t *screen_inf_t;
lv_obj_t *screen_img_inf; lv_obj_t *screen_inf_img;
lv_obj_t *screen_img_2; lv_obj_t *screen_inf_lock;
lv_obj_t *screen_img_3; lv_obj_t *screen_inf_link;
lv_obj_t *screen_img_4; lv_obj_t *screen_inf_run;
lv_obj_t *screen_temp; lv_obj_t *screen_temp;
lv_obj_t *screen_water; lv_obj_t *screen_water;
lv_obj_t *screen_order; lv_obj_t *screen_order;
@ -38,49 +38,47 @@ typedef struct
lv_obj_t *screen_tabview_tab_3; lv_obj_t *screen_tabview_tab_3;
lv_obj_t *screen_tabview_tab_4; lv_obj_t *screen_tabview_tab_4;
lv_obj_t *screen_tabview_tab_5; lv_obj_t *screen_tabview_tab_5;
lv_obj_t *screen_btn_1; lv_obj_t *screen_w_start;
lv_obj_t *screen_btn_1_label; lv_obj_t *screen_w_start_label;
lv_obj_t *screen_btn_3; lv_obj_t *screen_w_edit;
lv_obj_t *screen_btn_3_label; lv_obj_t *screen_w_edit_label;
lv_obj_t *screen_list_2; lv_obj_t *screen_w_list;
lv_obj_t *screen_list_2_item0; lv_obj_t *screen_w_list_item0;
lv_obj_t *screen_btn_4; lv_obj_t *screen_w_w;
lv_obj_t *screen_btn_4_label; lv_obj_t *screen_w_w_label;
lv_obj_t *screen_label_3; lv_obj_t *screen_w_text;
lv_obj_t *screen_list_3; lv_obj_t *screen_list_inf;
lv_obj_t *screen_list_3_item0; lv_obj_t *screen_list_inf_item0;
lv_obj_t *screen_w_2; lv_obj_t *screen_p_p;
lv_obj_t *screen_list_1; lv_obj_t *screen_p_p_item0;
lv_obj_t *screen_list_1_item0; lv_obj_t *screen_p_p_item1;
lv_obj_t *screen_list_1_item1; lv_obj_t *screen_p_p_item2;
lv_obj_t *screen_list_1_item2; lv_obj_t *screen_p_p_item3;
lv_obj_t *screen_list_1_item3; lv_obj_t *screen_p_p_item4;
lv_obj_t *screen_list_1_item4; lv_obj_t *screen_p_p_item5;
lv_obj_t *screen_list_1_item5; lv_obj_t *screen_p_p_item6;
lv_obj_t *screen_list_1_item6; lv_obj_t *screen_p_p_item7;
lv_obj_t *screen_list_1_item7; lv_obj_t *screen_p_p_item8;
lv_obj_t *screen_list_1_item8; lv_obj_t *screen_p_p_item9;
lv_obj_t *screen_list_1_item9; lv_obj_t *screen_p_p_item10;
lv_obj_t *screen_list_1_item10; lv_obj_t *screen_p_p_item11;
lv_obj_t *screen_list_1_item11; lv_obj_t *screen_p_p_item12;
lv_obj_t *screen_list_1_item12; lv_obj_t *screen_p_p_item13;
lv_obj_t *screen_list_1_item13; lv_obj_t *screen_p_p_item14;
lv_obj_t *screen_list_1_item14;
lv_obj_t *screen_list_1_item15;
lv_obj_t *screen_chart_temp; lv_obj_t *screen_chart_temp;
lv_chart_series_t *screen_chart_temp_0; lv_chart_series_t *screen_chart_temp_0;
lv_obj_t *screen_step_id; lv_obj_t *screen_step_id;
lv_obj_t *screen_step_inf; lv_obj_t *screen_step_inf;
lv_obj_t *screen_process; lv_obj_t *screen_process;
lv_obj_t *screen_step_n; lv_obj_t *screen_step_n;
lv_obj_t *screen_btn_5; lv_obj_t *screen_p_start;
lv_obj_t *screen_btn_5_label; lv_obj_t *screen_p_start_label;
lv_obj_t *screen_btn_6; lv_obj_t *screen_p_edit;
lv_obj_t *screen_btn_6_label; lv_obj_t *screen_p_edit_label;
lv_obj_t *screen_btn_7; lv_obj_t *screen_p_delete;
lv_obj_t *screen_btn_7_label; lv_obj_t *screen_p_delete_label;
lv_obj_t *screen_btn_8; lv_obj_t *screen_p_insert;
lv_obj_t *screen_btn_8_label; lv_obj_t *screen_p_insert_label;
lv_obj_t *screen_w_io; lv_obj_t *screen_w_io;
lv_obj_t *screen_w_io_tab_1; lv_obj_t *screen_w_io_tab_1;
lv_obj_t *screen_w_io_tab_2; lv_obj_t *screen_w_io_tab_2;
@ -308,7 +306,7 @@ typedef struct
lv_obj_t *screen_do43; lv_obj_t *screen_do43;
lv_obj_t *screen_do44; lv_obj_t *screen_do44;
lv_obj_t *screen_do45; lv_obj_t *screen_do45;
lv_obj_t *screen_d046; lv_obj_t *screen_do46;
lv_obj_t *screen_do47; lv_obj_t *screen_do47;
lv_obj_t *screen_do48; lv_obj_t *screen_do48;
lv_obj_t *screen_do49; lv_obj_t *screen_do49;
@ -330,6 +328,7 @@ typedef struct
lv_obj_t *screen_do65; lv_obj_t *screen_do65;
lv_obj_t *screen_do66; lv_obj_t *screen_do66;
lv_obj_t *screen_do67; lv_obj_t *screen_do67;
lv_obj_t *screen_name_do0;
lv_obj_t *screen_name_do1; lv_obj_t *screen_name_do1;
lv_obj_t *screen_name_do2; lv_obj_t *screen_name_do2;
lv_obj_t *screen_name_do3; lv_obj_t *screen_name_do3;
@ -396,8 +395,8 @@ typedef struct
lv_obj_t *screen_name_do64; lv_obj_t *screen_name_do64;
lv_obj_t *screen_name_do65; lv_obj_t *screen_name_do65;
lv_obj_t *screen_name_do66; lv_obj_t *screen_name_do66;
lv_obj_t *screen_name_do67; lv_obj_t *screen_aio;
lv_obj_t *screen_w_4; lv_obj_t *screen_sys_set;
lv_obj_t *screen_proess_set; lv_obj_t *screen_proess_set;
lv_obj_t *screen_proess_set_item0; lv_obj_t *screen_proess_set_item0;
lv_obj_t *screen_step_set; lv_obj_t *screen_step_set;
@ -412,10 +411,13 @@ typedef struct
lv_obj_t *screen_set_Save; lv_obj_t *screen_set_Save;
lv_obj_t *screen_set_Save_label; lv_obj_t *screen_set_Save_label;
lv_obj_t *screen_step_; lv_obj_t *screen_step_;
lv_obj_t *screen_w_5;
lv_obj_t *screen_sys_save;
lv_obj_t *screen_sys_save_label;
lv_obj_t *screen_machine_name; lv_obj_t *screen_machine_name;
lv_obj_t *screen_label_5; lv_obj_t *screen_sys_name;
lv_obj_t *screen_label_4;
lv_obj_t *screen_machine_id; lv_obj_t *screen_machine_id;
lv_obj_t *screen_sys_id;
lv_obj_t *g_kb_top_layer; lv_obj_t *g_kb_top_layer;
}lv_ui; }lv_ui;
@ -449,7 +451,7 @@ LV_IMG_DECLARE(_ico_link_alpha_40x40);
LV_IMG_DECLARE(_IconParkPlay_alpha_40x40); LV_IMG_DECLARE(_IconParkPlay_alpha_40x40);
LV_FONT_DECLARE(lv_font_montserratMedium_28) LV_FONT_DECLARE(lv_font_montserratMedium_28)
LV_FONT_DECLARE(lv_font_simsun_32) LV_FONT_DECLARE(lv_font_simsun_30)
LV_FONT_DECLARE(lv_font_montserratMedium_16) LV_FONT_DECLARE(lv_font_montserratMedium_16)
LV_FONT_DECLARE(lv_font_simsun_24) LV_FONT_DECLARE(lv_font_simsun_24)
LV_FONT_DECLARE(lv_font_simsun_12) LV_FONT_DECLARE(lv_font_simsun_12)
@ -458,10 +460,10 @@ LV_FONT_DECLARE(lv_font_simsun_16)
LV_FONT_DECLARE(lv_font_montserratMedium_15) LV_FONT_DECLARE(lv_font_montserratMedium_15)
LV_FONT_DECLARE(lv_font_Alatsi_Regular_20) LV_FONT_DECLARE(lv_font_Alatsi_Regular_20)
LV_FONT_DECLARE(lv_font_simsun_21) LV_FONT_DECLARE(lv_font_simsun_21)
LV_FONT_DECLARE(lv_font_simsun_30)
LV_FONT_DECLARE(lv_font_Acme_Regular_16) LV_FONT_DECLARE(lv_font_Acme_Regular_16)
LV_FONT_DECLARE(lv_font_Alatsi_Regular_18) LV_FONT_DECLARE(lv_font_Alatsi_Regular_18)
LV_FONT_DECLARE(lv_font_montserratMedium_14) LV_FONT_DECLARE(lv_font_montserratMedium_14)
LV_FONT_DECLARE(lv_font_simsun_32)
LV_FONT_DECLARE(lv_font_montserratMedium_30) LV_FONT_DECLARE(lv_font_montserratMedium_30)
LV_FONT_DECLARE(lv_font_simsun_28) LV_FONT_DECLARE(lv_font_simsun_28)
LV_FONT_DECLARE(lv_font_simsun_18) LV_FONT_DECLARE(lv_font_simsun_18)

197
applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_21.c

@ -972,61 +972,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x5, 0x5, 0x0, 0xc, 0x90, 0x35, 0x0, 0x0, 0x5, 0x5, 0x0, 0xc, 0x90, 0x35, 0x0,
0x0, 0x0, 0x9c, 0x70, 0x0, 0x0, 0x9c, 0x70,
/* U+6D4B "测" */
0x3, 0x20, 0x1, 0x0, 0x0, 0x1, 0x0, 0x0,
0x26, 0x0, 0xc, 0x60, 0x4c, 0x66, 0x66, 0xe5,
0x0, 0x2, 0xf2, 0x0, 0x5f, 0x14, 0xd0, 0x0,
0xf, 0x10, 0x0, 0x2e, 0x0, 0x0, 0x80, 0x3d,
0x0, 0x0, 0xf0, 0x1b, 0x32, 0xe0, 0x10, 0x0,
0x3, 0xd0, 0x94, 0xf, 0x0, 0xf2, 0x2e, 0x8,
0x60, 0x0, 0x5d, 0xb, 0x80, 0xf0, 0xf, 0x2,
0xe0, 0xf, 0x60, 0x54, 0xd0, 0xb5, 0xf, 0x0,
0xf0, 0x2e, 0x0, 0x99, 0x7, 0x3d, 0xb, 0x50,
0xf0, 0xf, 0x2, 0xe0, 0x0, 0x0, 0x83, 0xd0,
0xb5, 0xf, 0x0, 0xf0, 0x2e, 0x0, 0x0, 0x45,
0x3d, 0xc, 0x40, 0xf0, 0xf, 0x2, 0xe0, 0x0,
0x9, 0x13, 0xd0, 0xd3, 0xf, 0x0, 0xf0, 0x2e,
0x0, 0x0, 0xc0, 0x3d, 0xf, 0x10, 0xf0, 0xf,
0x2, 0xe0, 0x43, 0xa9, 0x4, 0xd1, 0xe0, 0xd,
0x0, 0xf1, 0x2e, 0x1, 0x9f, 0x50, 0x36, 0x5b,
0x0, 0x0, 0xf, 0x12, 0xe0, 0x0, 0xf3, 0x0,
0xa, 0x58, 0x20, 0x0, 0x20, 0x2e, 0x0, 0x1f,
0x30, 0x3, 0xd0, 0x1d, 0x30, 0x0, 0x2, 0xe0,
0x4, 0xf3, 0x1, 0xc2, 0x0, 0x6f, 0x10, 0x0,
0x2e, 0x0, 0x2e, 0x31, 0xb2, 0x0, 0x0, 0xe2,
0x7, 0xcd, 0xd0, 0x0, 0x2, 0x70, 0x0, 0x0,
0x1, 0x0, 0x2, 0xd4, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+8BD5 "试" */
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3, 0x70,
0x0, 0x0, 0x0, 0x5, 0x20, 0x0, 0x0, 0x0,
0x0, 0x4f, 0x5a, 0x30, 0x0, 0x0, 0x1d, 0x70,
0x0, 0x0, 0x0, 0x3, 0xe0, 0x4f, 0x20, 0x0,
0x0, 0x3f, 0x60, 0x0, 0x0, 0x0, 0x3f, 0x0,
0xb2, 0x0, 0x0, 0x0, 0xb6, 0x0, 0x0, 0x0,
0x2, 0xf0, 0x1, 0xc4, 0x0, 0x0, 0x0, 0x1,
0x97, 0x66, 0x66, 0x7f, 0x66, 0x66, 0x60, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0xf0, 0x0,
0x0, 0x0, 0x0, 0xa, 0x40, 0x0, 0x0, 0x0,
0xf, 0x10, 0x0, 0x0, 0x19, 0x76, 0xf9, 0x0,
0x0, 0x0, 0x96, 0xe3, 0x0, 0x0, 0x0, 0x0,
0xe, 0x30, 0x59, 0x6f, 0x86, 0x6c, 0x50, 0x0,
0x0, 0x0, 0x0, 0xe3, 0x0, 0x0, 0xe3, 0x0,
0x88, 0x0, 0x0, 0x0, 0x0, 0xe, 0x30, 0x0,
0xe, 0x30, 0x4, 0xc0, 0x0, 0x0, 0x0, 0x0,
0xe3, 0x0, 0x0, 0xe3, 0x0, 0x1f, 0x10, 0x0,
0x0, 0x0, 0xe, 0x30, 0x24, 0xe, 0x30, 0x0,
0xb7, 0x0, 0x20, 0x0, 0x0, 0xe3, 0x29, 0x0,
0xe4, 0x47, 0x44, 0xe0, 0x6, 0x0, 0x0, 0xe,
0x6c, 0x13, 0x7f, 0xd6, 0x0, 0xc, 0x80, 0x90,
0x0, 0x0, 0xff, 0x36, 0xfb, 0x40, 0x0, 0x0,
0x2f, 0x79, 0x0, 0x0, 0xb, 0x80, 0x3, 0x0,
0x0, 0x0, 0x0, 0x5f, 0xb0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4b, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
/* U+F001 "" */ /* U+F001 "" */
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
@ -2700,68 +2645,66 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 5610, .adv_w = 168, .box_w = 2, .box_h = 22, .ofs_x = 4, .ofs_y = -3}, {.bitmap_index = 5610, .adv_w = 168, .box_w = 2, .box_h = 22, .ofs_x = 4, .ofs_y = -3},
{.bitmap_index = 5632, .adv_w = 168, .box_w = 6, .box_h = 20, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 5632, .adv_w = 168, .box_w = 6, .box_h = 20, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 5692, .adv_w = 168, .box_w = 10, .box_h = 4, .ofs_x = 0, .ofs_y = 14}, {.bitmap_index = 5692, .adv_w = 168, .box_w = 10, .box_h = 4, .ofs_x = 0, .ofs_y = 14},
{.bitmap_index = 5712, .adv_w = 336, .box_w = 19, .box_h = 20, .ofs_x = 1, .ofs_y = -3}, {.bitmap_index = 5712, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 5902, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 5954, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6112, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 6122, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6354, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 6332, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6522, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 6500, .adv_w = 231, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6732, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 6620, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 6900, .adv_w = 231, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 6851, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 7020, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 7082, .adv_w = 378, .box_w = 24, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 7251, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 7322, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 7482, .adv_w = 378, .box_w = 24, .box_h = 20, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 7553, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 7722, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 7745, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 7953, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 7976, .adv_w = 168, .box_w = 11, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8145, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 8070, .adv_w = 252, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8376, .adv_w = 168, .box_w = 11, .box_h = 17, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 8206, .adv_w = 378, .box_w = 24, .box_h = 21, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 8470, .adv_w = 252, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 8458, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 8606, .adv_w = 378, .box_w = 24, .box_h = 21, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 8626, .adv_w = 231, .box_w = 15, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 8858, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 8791, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 9026, .adv_w = 231, .box_w = 15, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 8931, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 9191, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2}, {.bitmap_index = 9140, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9331, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 9330, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9540, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 9520, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 9730, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 9660, .adv_w = 294, .box_w = 20, .box_h = 20, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 9920, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2}, {.bitmap_index = 9860, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 10060, .adv_w = 294, .box_w = 20, .box_h = 20, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 9974, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 10260, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 10088, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10374, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 10278, .adv_w = 294, .box_w = 19, .box_h = 5, .ofs_x = 0, .ofs_y = 5},
{.bitmap_index = 10488, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 10326, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 10678, .adv_w = 294, .box_w = 19, .box_h = 5, .ofs_x = 0, .ofs_y = 5}, {.bitmap_index = 10518, .adv_w = 420, .box_w = 27, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 10726, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 10815, .adv_w = 378, .box_w = 25, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 10918, .adv_w = 420, .box_w = 27, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 11090, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 11215, .adv_w = 378, .box_w = 25, .box_h = 22, .ofs_x = -1, .ofs_y = -3}, {.bitmap_index = 11300, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
{.bitmap_index = 11490, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 11414, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
{.bitmap_index = 11700, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2}, {.bitmap_index = 11528, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11814, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2}, {.bitmap_index = 11744, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11928, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 11912, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 12144, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 12143, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 12312, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 12385, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 12543, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3}, {.bitmap_index = 12575, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 12785, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 12784, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 12975, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 12974, .adv_w = 294, .box_w = 19, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 13184, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 13136, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 13374, .adv_w = 294, .box_w = 19, .box_h = 17, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 13304, .adv_w = 210, .box_w = 15, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 13536, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 13469, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 13704, .adv_w = 210, .box_w = 15, .box_h = 22, .ofs_x = -1, .ofs_y = -3}, {.bitmap_index = 13678, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 13869, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 13887, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 14078, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 14079, .adv_w = 336, .box_w = 23, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 14287, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 14332, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 14479, .adv_w = 336, .box_w = 23, .box_h = 22, .ofs_x = -1, .ofs_y = -3}, {.bitmap_index = 14508, .adv_w = 420, .box_w = 27, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 14732, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 14778, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 14908, .adv_w = 420, .box_w = 27, .box_h = 20, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 14967, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 15178, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 15156, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 15367, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 15345, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 15556, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 15534, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 15745, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 15723, .adv_w = 420, .box_w = 27, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 15934, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 15953, .adv_w = 294, .box_w = 17, .box_h = 22, .ofs_x = 1, .ofs_y = -3},
{.bitmap_index = 16123, .adv_w = 420, .box_w = 27, .box_h = 17, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 16140, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 16353, .adv_w = 294, .box_w = 17, .box_h = 22, .ofs_x = 1, .ofs_y = -3}, {.bitmap_index = 16349, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 16540, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 16591, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 16749, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3}, {.bitmap_index = 16807, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 16991, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 16983, .adv_w = 338, .box_w = 22, .box_h = 14, .ofs_x = 0, .ofs_y = 1}
{.bitmap_index = 17207, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 17383, .adv_w = 338, .box_w = 22, .box_h = 14, .ofs_x = 0, .ofs_y = 1}
}; };
/*--------------------- /*---------------------
@ -2769,14 +2712,14 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
*--------------------*/ *--------------------*/
static const uint16_t unicode_list_1[] = { static const uint16_t unicode_list_1[] = {
0x0, 0x1e8a, 0x82b6, 0x82bd, 0x82c0, 0x82c1, 0x82c2, 0x82c6, 0x0, 0x7, 0xa, 0xb, 0xc, 0x10, 0x12, 0x14,
0x82c8, 0x82ca, 0x82ce, 0x82d1, 0x82d6, 0x82db, 0x82dc, 0x82dd, 0x18, 0x1b, 0x20, 0x25, 0x26, 0x27, 0x3d, 0x42,
0x82f3, 0x82f8, 0x82fd, 0x8300, 0x8301, 0x8302, 0x8306, 0x8307, 0x47, 0x4a, 0x4b, 0x4c, 0x50, 0x51, 0x52, 0x53,
0x8308, 0x8309, 0x831c, 0x831d, 0x8323, 0x8325, 0x8326, 0x8329, 0x66, 0x67, 0x6d, 0x6f, 0x70, 0x73, 0x76, 0x77,
0x832c, 0x832d, 0x832e, 0x8330, 0x8348, 0x834a, 0x8379, 0x837a, 0x78, 0x7a, 0x92, 0x94, 0xc3, 0xc4, 0xc6, 0xc8,
0x837c, 0x837e, 0x8395, 0x839c, 0x839f, 0x83a8, 0x83d1, 0x83d9, 0xdf, 0xe6, 0xe9, 0xf2, 0x11b, 0x123, 0x15a, 0x1ea,
0x8410, 0x84a0, 0x84f5, 0x84f6, 0x84f7, 0x84f8, 0x84f9, 0x853c, 0x23f, 0x240, 0x241, 0x242, 0x243, 0x286, 0x292, 0x2ec,
0x8548, 0x85a2, 0x85b9, 0x880f, 0x8a77, 0x8b57 0x303, 0x559, 0x7c1, 0x8a1
}; };
/*Collect the unicode lists and glyph_id offsets*/ /*Collect the unicode lists and glyph_id offsets*/
@ -2787,8 +2730,8 @@ static const lv_font_fmt_txt_cmap_t cmaps[] =
.unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY .unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY
}, },
{ {
.range_start = 27979, .range_length = 35672, .glyph_id_start = 96, .range_start = 61441, .range_length = 2210, .glyph_id_start = 96,
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 62, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY .unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 60, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
} }
}; };

1368
applications/lvgl/guider/generated/setup_scr_screen.c

File diff suppressed because it is too large

4
applications/lvgl/guider/generated/widgets_init.c

@ -1,6 +1,4 @@
/* /*
#include <gui_guider/generated/gui_guider.h>
#include <gui_guider/generated/widgets_init.h>
* Copyright 2026 NXP * Copyright 2026 NXP
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in * NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing, * accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
@ -10,6 +8,8 @@
*/ */
#include "lvgl.h" #include "lvgl.h"
#include "gui_guider.h"
#include "widgets_init.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

3
applications/lvgl/guider/generated/widgets_init.h

@ -8,14 +8,13 @@
*/ */
#ifndef WIDGET_INIT_H #ifndef WIDGET_INIT_H
#define WIDGET_INIT_H #define WIDGET_INIT_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include "lvgl.h" #include "lvgl.h"
#include <guider/generated/gui_guider.h> #include "gui_guider.h"
__attribute__((unused)) void kb_event_cb(lv_event_t *e); __attribute__((unused)) void kb_event_cb(lv_event_t *e);
__attribute__((unused)) void ta_event_cb(lv_event_t *e); __attribute__((unused)) void ta_event_cb(lv_event_t *e);

360
applications/lvgl/lv__user_gui.c

@ -10,6 +10,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <applications/data/Variable.h> #include <applications/data/Variable.h>
#include <applications/data/SC828_DATA_table.h>
#include <board.h> #include <board.h>
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
@ -27,6 +28,325 @@
#define LCD_BL_PIN GET_PIN(D,12) #define LCD_BL_PIN GET_PIN(D,12)
#define LCD_RST_PIN GET_PIN(D,11) #define LCD_RST_PIN GET_PIN(D,11)
// 全局或静态数组
lv_obj_t * di_led_array[88];
lv_obj_t * di_name_array[88];
lv_obj_t * do_led_array[67];
lv_obj_t * do_name_array[67];
void ui_init_dio_leds(lv_ui *ui) {
di_led_array[0] = ui->screen_di0;
di_led_array[1] = ui->screen_di1;
di_led_array[2] = ui->screen_di2;
di_led_array[3] = ui->screen_di3;
di_led_array[4] = ui->screen_di4;
di_led_array[5] = ui->screen_di5;
di_led_array[6] = ui->screen_di6;
di_led_array[7] = ui->screen_di7;
di_led_array[8] = ui->screen_di8;
di_led_array[9] = ui->screen_di9;
di_led_array[10] = ui->screen_di10;
di_led_array[11] = ui->screen_di11;
di_led_array[12] = ui->screen_di12;
di_led_array[13] = ui->screen_di13;
di_led_array[14] = ui->screen_di14;
di_led_array[15] = ui->screen_di15;
di_led_array[16] = ui->screen_di16;
di_led_array[17] = ui->screen_di17;
di_led_array[18] = ui->screen_di18;
di_led_array[19] = ui->screen_di19;
di_led_array[20] = ui->screen_di20;
di_led_array[21] = ui->screen_di21;
di_led_array[22] = ui->screen_di22;
di_led_array[23] = ui->screen_di23;
di_led_array[24] = ui->screen_di24;
di_led_array[25] = ui->screen_di25;
di_led_array[26] = ui->screen_di26;
di_led_array[27] = ui->screen_di27;
di_led_array[28] = ui->screen_di28;
di_led_array[29] = ui->screen_di29;
di_led_array[30] = ui->screen_di30;
di_led_array[31] = ui->screen_di31;
di_led_array[32] = ui->screen_di32;
di_led_array[33] = ui->screen_di33;
di_led_array[34] = ui->screen_di34;
di_led_array[35] = ui->screen_di35;
di_led_array[36] = ui->screen_di36;
di_led_array[37] = ui->screen_di37;
di_led_array[38] = ui->screen_di38;
di_led_array[39] = ui->screen_di39;
di_led_array[40] = ui->screen_di40;
di_led_array[41] = ui->screen_di41;
di_led_array[42] = ui->screen_di42;
di_led_array[43] = ui->screen_di43;
di_led_array[44] = ui->screen_di44;
di_led_array[45] = ui->screen_di45;
di_led_array[46] = ui->screen_di46;
di_led_array[47] = ui->screen_di47;
di_led_array[48] = ui->screen_di48;
di_led_array[49] = ui->screen_di49;
di_led_array[50] = ui->screen_di50;
di_led_array[51] = ui->screen_di51;
di_led_array[52] = ui->screen_di52;
di_led_array[53] = ui->screen_di53;
di_led_array[54] = ui->screen_di54;
di_led_array[55] = ui->screen_di55;
di_led_array[56] = ui->screen_di56;
di_led_array[57] = ui->screen_di57;
di_led_array[58] = ui->screen_di58;
di_led_array[59] = ui->screen_di59;
di_led_array[60] = ui->screen_di60;
di_led_array[61] = ui->screen_di61;
di_led_array[62] = ui->screen_di62;
di_led_array[63] = ui->screen_di63;
di_led_array[64] = ui->screen_di64;
di_led_array[65] = ui->screen_di65;
di_led_array[66] = ui->screen_di66;
di_led_array[67] = ui->screen_di67;
di_led_array[68] = ui->screen_di68;
di_led_array[69] = ui->screen_di69;
di_led_array[70] = ui->screen_di70;
di_led_array[71] = ui->screen_di71;
di_led_array[72] = ui->screen_di72;
di_led_array[73] = ui->screen_di73;
di_led_array[74] = ui->screen_di74;
di_led_array[75] = ui->screen_di75;
di_led_array[76] = ui->screen_di76;
di_led_array[77] = ui->screen_di77;
di_led_array[78] = ui->screen_di78;
di_led_array[79] = ui->screen_di79;
di_led_array[80] = ui->screen_di80;
di_led_array[81] = ui->screen_di81;
di_led_array[82] = ui->screen_di82;
di_led_array[83] = ui->screen_di83;
di_led_array[84] = ui->screen_di84;
di_led_array[85] = ui->screen_di85;
di_led_array[86] = ui->screen_di86;
di_led_array[87] = ui->screen_di87;
di_name_array[0] = ui->screen_name_di0;
di_name_array[1] = ui->screen_name_di1;
di_name_array[2] = ui->screen_name_di2;
di_name_array[3] = ui->screen_name_di3;
di_name_array[4] = ui->screen_name_di4;
di_name_array[5] = ui->screen_name_di5;
di_name_array[6] = ui->screen_name_di6;
di_name_array[7] = ui->screen_name_di7;
di_name_array[8] = ui->screen_name_di8;
di_name_array[9] = ui->screen_name_di9;
di_name_array[10] = ui->screen_name_di10;
di_name_array[11] = ui->screen_name_di11;
di_name_array[12] = ui->screen_name_di12;
di_name_array[13] = ui->screen_name_di13;
di_name_array[14] = ui->screen_name_di14;
di_name_array[15] = ui->screen_name_di15;
di_name_array[16] = ui->screen_name_di16;
di_name_array[17] = ui->screen_name_di17;
di_name_array[18] = ui->screen_name_di18;
di_name_array[19] = ui->screen_name_di19;
di_name_array[20] = ui->screen_name_di20;
di_name_array[21] = ui->screen_name_di21;
di_name_array[22] = ui->screen_name_di22;
di_name_array[23] = ui->screen_name_di23;
di_name_array[24] = ui->screen_name_di24;
di_name_array[25] = ui->screen_name_di25;
di_name_array[26] = ui->screen_name_di26;
di_name_array[27] = ui->screen_name_di27;
di_name_array[28] = ui->screen_name_di28;
di_name_array[29] = ui->screen_name_di29;
di_name_array[30] = ui->screen_name_di30;
di_name_array[31] = ui->screen_name_di31;
di_name_array[32] = ui->screen_name_di32;
di_name_array[33] = ui->screen_name_di33;
di_name_array[34] = ui->screen_name_di34;
di_name_array[35] = ui->screen_name_di35;
di_name_array[36] = ui->screen_name_di36;
di_name_array[37] = ui->screen_name_di37;
di_name_array[38] = ui->screen_name_di38;
di_name_array[39] = ui->screen_name_di39;
di_name_array[40] = ui->screen_name_di40;
di_name_array[41] = ui->screen_name_di41;
di_name_array[42] = ui->screen_name_di42;
di_name_array[43] = ui->screen_name_di43;
di_name_array[44] = ui->screen_name_di44;
di_name_array[45] = ui->screen_name_di45;
di_name_array[46] = ui->screen_name_di46;
di_name_array[47] = ui->screen_name_di47;
di_name_array[48] = ui->screen_name_di48;
di_name_array[49] = ui->screen_name_di49;
di_name_array[50] = ui->screen_name_di50;
di_name_array[51] = ui->screen_name_di51;
di_name_array[52] = ui->screen_name_di52;
di_name_array[53] = ui->screen_name_di53;
di_name_array[54] = ui->screen_name_di54;
di_name_array[55] = ui->screen_name_di55;
di_name_array[56] = ui->screen_name_di56;
di_name_array[57] = ui->screen_name_di57;
di_name_array[58] = ui->screen_name_di58;
di_name_array[59] = ui->screen_name_di59;
di_name_array[60] = ui->screen_name_di60;
di_name_array[61] = ui->screen_name_di61;
di_name_array[62] = ui->screen_name_di62;
di_name_array[63] = ui->screen_name_di63;
di_name_array[64] = ui->screen_name_di64;
di_name_array[65] = ui->screen_name_di65;
di_name_array[66] = ui->screen_name_di66;
di_name_array[67] = ui->screen_name_di67;
di_name_array[68] = ui->screen_name_di68;
di_name_array[69] = ui->screen_name_di69;
di_name_array[70] = ui->screen_name_di70;
di_name_array[71] = ui->screen_name_di71;
di_name_array[72] = ui->screen_name_di72;
di_name_array[73] = ui->screen_name_di73;
di_name_array[74] = ui->screen_name_di74;
di_name_array[75] = ui->screen_name_di75;
di_name_array[76] = ui->screen_name_di76;
di_name_array[77] = ui->screen_name_di77;
di_name_array[78] = ui->screen_name_di78;
di_name_array[79] = ui->screen_name_di79;
di_name_array[80] = ui->screen_name_di80;
di_name_array[81] = ui->screen_name_di81;
di_name_array[82] = ui->screen_name_di82;
di_name_array[83] = ui->screen_name_di83;
di_name_array[84] = ui->screen_name_di84;
di_name_array[85] = ui->screen_name_di85;
di_name_array[86] = ui->screen_name_di86;
di_name_array[87] = ui->screen_name_di87;
//
do_led_array[0] = ui->screen_do0;
do_led_array[1] = ui->screen_do1;
do_led_array[2] = ui->screen_do2;
do_led_array[3] = ui->screen_do3;
do_led_array[4] = ui->screen_do4;
do_led_array[5] = ui->screen_do5;
do_led_array[6] = ui->screen_do6;
do_led_array[7] = ui->screen_do7;
do_led_array[8] = ui->screen_do8;
do_led_array[9] = ui->screen_do9;
do_led_array[10] = ui->screen_do10;
do_led_array[11] = ui->screen_do11;
do_led_array[12] = ui->screen_do12;
do_led_array[13] = ui->screen_do13;
do_led_array[14] = ui->screen_do14;
do_led_array[15] = ui->screen_do15;
do_led_array[16] = ui->screen_do16;
do_led_array[17] = ui->screen_do17;
do_led_array[18] = ui->screen_do18;
do_led_array[19] = ui->screen_do19;
do_led_array[20] = ui->screen_do20;
do_led_array[21] = ui->screen_do21;
do_led_array[22] = ui->screen_do22;
do_led_array[23] = ui->screen_do23;
do_led_array[24] = ui->screen_do24;
do_led_array[25] = ui->screen_do25;
do_led_array[26] = ui->screen_do26;
do_led_array[27] = ui->screen_do27;
do_led_array[28] = ui->screen_do28;
do_led_array[29] = ui->screen_do29;
do_led_array[30] = ui->screen_do30;
do_led_array[31] = ui->screen_do31;
do_led_array[32] = ui->screen_do32;
do_led_array[33] = ui->screen_do33;
do_led_array[34] = ui->screen_do34;
do_led_array[35] = ui->screen_do35;
do_led_array[36] = ui->screen_do36;
do_led_array[37] = ui->screen_do37;
do_led_array[38] = ui->screen_do38;
do_led_array[39] = ui->screen_do39;
do_led_array[40] = ui->screen_do40;
do_led_array[41] = ui->screen_do41;
do_led_array[42] = ui->screen_do42;
do_led_array[43] = ui->screen_do43;
do_led_array[44] = ui->screen_do44;
do_led_array[45] = ui->screen_do45;
do_led_array[46] = ui->screen_do46;
do_led_array[47] = ui->screen_do47;
do_led_array[48] = ui->screen_do48;
do_led_array[49] = ui->screen_do49;
do_led_array[50] = ui->screen_do50;
do_led_array[51] = ui->screen_do51;
do_led_array[52] = ui->screen_do52;
do_led_array[53] = ui->screen_do53;
do_led_array[54] = ui->screen_do54;
do_led_array[55] = ui->screen_do55;
do_led_array[56] = ui->screen_do56;
do_led_array[57] = ui->screen_do57;
do_led_array[58] = ui->screen_do58;
do_led_array[59] = ui->screen_do59;
do_led_array[60] = ui->screen_do60;
do_led_array[61] = ui->screen_do61;
do_led_array[62] = ui->screen_do62;
do_led_array[63] = ui->screen_do63;
do_led_array[64] = ui->screen_do64;
do_led_array[65] = ui->screen_do65;
do_led_array[66] = ui->screen_do66;
do_name_array[0] = ui->screen_name_do0;
do_name_array[1] = ui->screen_name_do1;
do_name_array[2] = ui->screen_name_do2;
do_name_array[3] = ui->screen_name_do3;
do_name_array[4] = ui->screen_name_do4;
do_name_array[5] = ui->screen_name_do5;
do_name_array[6] = ui->screen_name_do6;
do_name_array[7] = ui->screen_name_do7;
do_name_array[8] = ui->screen_name_do8;
do_name_array[9] = ui->screen_name_do9;
do_name_array[10] = ui->screen_name_do10;
do_name_array[11] = ui->screen_name_do11;
do_name_array[12] = ui->screen_name_do12;
do_name_array[13] = ui->screen_name_do13;
do_name_array[14] = ui->screen_name_do14;
do_name_array[15] = ui->screen_name_do15;
do_name_array[16] = ui->screen_name_do16;
do_name_array[17] = ui->screen_name_do17;
do_name_array[18] = ui->screen_name_do18;
do_name_array[19] = ui->screen_name_do19;
do_name_array[20] = ui->screen_name_do20;
do_name_array[21] = ui->screen_name_do21;
do_name_array[22] = ui->screen_name_do22;
do_name_array[23] = ui->screen_name_do23;
do_name_array[24] = ui->screen_name_do24;
do_name_array[25] = ui->screen_name_do25;
do_name_array[26] = ui->screen_name_do26;
do_name_array[27] = ui->screen_name_do27;
do_name_array[28] = ui->screen_name_do28;
do_name_array[29] = ui->screen_name_do29;
do_name_array[30] = ui->screen_name_do30;
do_name_array[31] = ui->screen_name_do31;
do_name_array[32] = ui->screen_name_do32;
do_name_array[33] = ui->screen_name_do33;
do_name_array[34] = ui->screen_name_do34;
do_name_array[35] = ui->screen_name_do35;
do_name_array[36] = ui->screen_name_do36;
do_name_array[37] = ui->screen_name_do37;
do_name_array[38] = ui->screen_name_do38;
do_name_array[39] = ui->screen_name_do39;
do_name_array[40] = ui->screen_name_do40;
do_name_array[41] = ui->screen_name_do41;
do_name_array[42] = ui->screen_name_do42;
do_name_array[43] = ui->screen_name_do43;
do_name_array[44] = ui->screen_name_do44;
do_name_array[45] = ui->screen_name_do45;
do_name_array[46] = ui->screen_name_do46;
do_name_array[47] = ui->screen_name_do47;
do_name_array[48] = ui->screen_name_do48;
do_name_array[49] = ui->screen_name_do49;
do_name_array[50] = ui->screen_name_do50;
do_name_array[51] = ui->screen_name_do51;
do_name_array[52] = ui->screen_name_do52;
do_name_array[53] = ui->screen_name_do53;
do_name_array[54] = ui->screen_name_do54;
do_name_array[55] = ui->screen_name_do55;
do_name_array[56] = ui->screen_name_do56;
do_name_array[57] = ui->screen_name_do57;
do_name_array[58] = ui->screen_name_do58;
do_name_array[59] = ui->screen_name_do59;
do_name_array[60] = ui->screen_name_do60;
do_name_array[61] = ui->screen_name_do61;
do_name_array[62] = ui->screen_name_do62;
do_name_array[63] = ui->screen_name_do63;
do_name_array[64] = ui->screen_name_do64;
do_name_array[65] = ui->screen_name_do65;
do_name_array[66] = ui->screen_name_do66;
}
void setup_user_screen(lv_ui *ui) void setup_user_screen(lv_ui *ui)
{ {
@ -35,6 +355,18 @@ void setup_user_screen(lv_ui *ui)
lv_textarea_set_text(ui->screen_machine_id, machine_ID);//设备id lv_textarea_set_text(ui->screen_machine_id, machine_ID);//设备id
lv_textarea_set_text(ui->screen_machine_name, machine_name);//设备名 lv_textarea_set_text(ui->screen_machine_name, machine_name);//设备名
for (int i = 0; i < DI_TABLE_SIZE; i++)
{
//lv_label_set_text(di_name_array[i], lang_get_str(di_table[i].name));
}
for (int i = 0; i < DO_TABLE_SIZE; i++)
{
//lv_label_set_text(do_name_array[i], lang_get_str(do_table[i].name));
}
} }
time_t nows; time_t nows;
@ -62,6 +394,33 @@ void setup_s_screen(lv_ui *ui)
//温度 //温度
snprintf(temp_str, sizeof(temp_str), "%05.1f", MTT); snprintf(temp_str, sizeof(temp_str), "%05.1f", MTT);
lv_label_set_text(ui->screen_temp, (const char *)temp_str); lv_label_set_text(ui->screen_temp, (const char *)temp_str);
//DIO_led
for (int i = 0; i < DI_TABLE_SIZE; i++)
{
if(di_table[i].current_state)
{
lv_led_on(di_led_array[i]);
}
else
{
lv_led_off(di_led_array[i]);
}
}
for (int i = 0; i < DO_TABLE_SIZE; i++)
{
if(do_table[i].current_state)
{
lv_led_on(do_led_array[i]);
}
else
{
lv_led_off(do_led_array[i]);
}
}
} }
static void time_update_timer_cb(lv_timer_t * timer) static void time_update_timer_cb(lv_timer_t * timer)
@ -75,6 +434,7 @@ void lv_user_gui_init(void)
events_init(&guider_ui); events_init(&guider_ui);
custom_init(&guider_ui); custom_init(&guider_ui);
setup_user_screen(&guider_ui); setup_user_screen(&guider_ui);
ui_init_dio_leds(&guider_ui);
// 创建一个每 500ms 触发一次的定时器 // 创建一个每 500ms 触发一次的定时器
lv_timer_create(time_update_timer_cb, 500, NULL); lv_timer_create(time_update_timer_cb, 500, NULL);

Loading…
Cancel
Save