arch(driver): new driver architecture with new color format support

This commit is contained in:
Gabor Kiss-Vamosi
2023-02-20 20:50:58 +01:00
parent df789ed3c7
commit 124f9b0f9f
425 changed files with 25232 additions and 24168 deletions

View File

@@ -6,7 +6,7 @@ def event_cb(e):
if dsc.part != lv.PART.INDICATOR:
return
obj= e.get_target()
obj= e.get_target_obj()
label_dsc = lv.draw_label_dsc_t()
label_dsc.init()
@@ -38,7 +38,7 @@ def event_cb(e):
#
bar = lv.bar(lv.scr_act())
bar.add_event_cb(event_cb, lv.EVENT.DRAW_PART_END, None)
bar.add_event(event_cb, lv.EVENT.DRAW_PART_END, None)
bar.set_size(200, 20)
bar.center()