Searched refs:led (Results 1 – 10 of 10) sorted by relevance
/lvgl-3.7.0/src/extra/widgets/led/ |
D | lv_led.c | 75 lv_led_t * led = (lv_led_t *)obj; in lv_led_set_color() local 76 led->color = color; in lv_led_set_color() 89 lv_led_t * led = (lv_led_t *)obj; in lv_led_set_brightness() local 90 if(led->bright == bright) return; in lv_led_set_brightness() 92 led->bright = LV_CLAMP(LV_LED_BRIGHT_MIN, bright, LV_LED_BRIGHT_MAX); in lv_led_set_brightness() 102 void lv_led_on(lv_obj_t * led) in lv_led_on() argument 104 lv_led_set_brightness(led, LV_LED_BRIGHT_MAX); in lv_led_on() 111 void lv_led_off(lv_obj_t * led) in lv_led_off() argument 113 lv_led_set_brightness(led, LV_LED_BRIGHT_MIN); in lv_led_off() 142 lv_led_t * led = (lv_led_t *)obj; in lv_led_get_brightness() local [all …]
|
D | lv_led.h | 70 void lv_led_set_color(lv_obj_t * led, lv_color_t color); 77 void lv_led_set_brightness(lv_obj_t * led, uint8_t bright); 83 void lv_led_on(lv_obj_t * led); 89 void lv_led_off(lv_obj_t * led); 95 void lv_led_toggle(lv_obj_t * led);
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | led.md | 13 You can set the color of the LED with `lv_led_set_color(led, lv_color_hex(0xff0080))`. 17 You can set their brightness with `lv_led_set_bright(led, bright)`. The brightness should be betwee… 20 Use `lv_led_on(led)` and `lv_led_off(led)` to set the brightness to a predefined ON or OFF value. T… 43 .. include:: ../../../examples/widgets/led/index.rst
|
D | index.md | 14 led
|
/lvgl-3.7.0/examples/widgets/led/ |
D | lv_example_led_1.py | 6 led1 = lv.led(lv.scr_act()) 11 led2 = lv.led(lv.scr_act()) 17 led3 = lv.led(lv.scr_act())
|
D | index.rst | 5 .. lv_example:: widgets/led/lv_example_led_1
|
/lvgl-3.7.0/demos/widgets/ |
D | lv_demo_widgets.py | 439 led = lv.led(led_h, None) 441 led.set_size(led_size, led_size) 442 led.off() 444 led = lv.led(led_h, led) 445 led.set_bright((LV_LED_BRIGHT_MAX - LV_LED_BRIGHT_MIN) // 2 + LV_LED_BRIGHT_MIN) 447 led = lv.led(led_h, led) 448 led.on()
|
/lvgl-3.7.0/ |
D | component.mk | 24 src/extra/widgets/led \
|
/lvgl-3.7.0/src/extra/themes/default/ |
D | lv_theme_default.c | 149 lv_style_t led; member 630 style_init_reset(&styles->led); in style_init() 631 lv_style_set_bg_opa(&styles->led, LV_OPA_COVER); in style_init() 632 lv_style_set_bg_color(&styles->led, lv_color_white()); in style_init() 633 lv_style_set_bg_grad_color(&styles->led, lv_palette_main(LV_PALETTE_GREY)); in style_init() 634 lv_style_set_radius(&styles->led, LV_RADIUS_CIRCLE); in style_init() 635 lv_style_set_shadow_width(&styles->led, lv_disp_dpx(theme.disp, 15)); in style_init() 636 lv_style_set_shadow_color(&styles->led, lv_color_white()); in style_init() 637 lv_style_set_shadow_spread(&styles->led, lv_disp_dpx(theme.disp, 5)); in style_init() 1156 lv_obj_add_style(obj, &styles->led, 0); in theme_apply()
|
/lvgl-3.7.0/docs/ |
D | CHANGELOG.md | 330 - fix(led): add bg_color draw descriptors back to led draw event to support LV_DRAW_COMPLEX 0 [`351… 967 - feat(led) send LV_EVENT_DRAW_PART_BEGIN/END [`fcd4aa3`](https://github.com/lvgl/lvgl/commit/fcd4a… 1113 - feat(led) send LV_EVENT_DRAW_PART_BEGIN/END [`fcd4aa3`](https://github.com/lvgl/lvgl/commit/fcd4a… 1253 - chore(led) expose LV_LED_BRIGHT_MIN/MAX in led.h [`3f18b23`](https://github.com/lvgl/lvgl/commit/…
|