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

@@ -1,7 +1,7 @@
def event_cb(e):
# The original target of the event. Can be the buttons or the container
target = e.get_target()
target = e.get_target_obj()
# print(type(target))
# If container was clicked do nothing
@@ -29,4 +29,4 @@ for i in range(30):
label.set_text(str(i))
label.center()
cont.add_event_cb(event_cb, lv.EVENT.CLICKED, None)
cont.add_event(event_cb, lv.EVENT.CLICKED, None)