lv_led.h
Defines
-
LV_LED_BRIGHT_MIN
Brightness when the LED if OFF
-
LV_LED_BRIGHT_MAX
Brightness when the LED if ON
Functions
-
lv_obj_t *lv_led_create(lv_obj_t *parent)
Create a led object
- 参数:
parent -- pointer to an object, it will be the parent of the new led
- 返回:
pointer to the created led
-
void lv_led_set_color(lv_obj_t *led, lv_color_t color)
Set the color of the LED
- 参数:
led -- pointer to a LED object
color -- the color of the LED
Variables
-
const lv_obj_class_t lv_led_class