You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
669 B
24 lines
669 B
|
6 months ago
|
/*
|
||
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
|
*
|
||
|
|
* Change Logs:
|
||
|
|
* Date Author Notes
|
||
|
|
* 2026-02-04 Administrator the first version
|
||
|
|
*/
|
||
|
|
#ifndef APPLICATIONS_LVGL_UI_DATA_LABELS_H_
|
||
|
|
#define APPLICATIONS_LVGL_UI_DATA_LABELS_H_
|
||
|
|
|
||
|
|
extern lv_obj_t *di_led_array[64];
|
||
|
|
extern lv_obj_t *do_led_array[64];
|
||
|
|
extern lv_obj_t *di_labels[24]; // DI: AIO4001 ~ AIO4024 (24个)
|
||
|
|
extern lv_obj_t *do_labels[16]; // DO: AIO5001 ~ AIO5016 (16个)
|
||
|
|
|
||
|
|
void ui_init_io(lv_ui *ui);
|
||
|
|
void update_io_labels(void);
|
||
|
|
void update_led_i(void);
|
||
|
|
void update_led_o(void);
|
||
|
|
|
||
|
|
#endif /* APPLICATIONS_LVGL_UI_DATA_LABELS_H_ */
|