Lines Matching refs:meter
5 meter = lv.meter(lv.scr_act()) variable
8 meter.remove_style(None, lv.PART.MAIN)
9 meter.remove_style(None, lv.PART.INDICATOR)
11 meter.set_size(200, 200)
12 meter.center()
15 scale = meter.add_scale()
16 meter.set_scale_ticks(scale, 0, 0, 0, lv.color_black())
17 meter.set_scale_range(scale, 0, 100, 360, 0)
21 indic1 = meter.add_arc(scale, indic_w,lv.palette_main(lv.PALETTE.ORANGE), 0)
22 meter.set_indicator_start_value(indic1, 0)
23 meter.set_indicator_end_value(indic1, 40)
25 indic2 = meter.add_arc(scale, indic_w, lv.palette_main(lv.PALETTE.YELLOW), 0)
26 meter.set_indicator_start_value(indic2, 40) # Start from the previous
27 meter.set_indicator_end_value(indic2, 80)
29 indic3 = meter.add_arc(scale, indic_w, lv.palette_main(lv.PALETTE.DEEP_ORANGE), 0)
30 meter.set_indicator_start_value(indic3, 80) # Start from the previous
31 meter.set_indicator_end_value(indic3, 100)