nicolai last edited by
Good morning everyone,
I am here to see if I can solve this problem since I do not know if the libraries used by M5stack are out of date since I try to use elements provided by M5stack and when I go to implement them in the code I get many errors that are not mine.
Attached page of the examples that if they are good but they are not complete:
Here you will find several examples but there is no event code.
I see that M5stack core 2 with micropython is adapted with the library 'lvgl' attached guide page:
I observe different examples where I can only rescue some examples that work but others do not work since the libraries are not complete in my opinion, I attach examples that I provide but they do not work and they are:
When wanting to use these examples it says that the library does not exist, then I go to the program m5burn version 2.4.2 and I have the version of micropython 1.8.4 core2, I would like to know please what I have to do so that no error of the examples that appear there I did not go out again.
Thank you very much Community.
WoeTan last edited by
Hey good afternoon
I am trying to use also the LVGL and its charts on the Core2.
I have the version 1.9.2 installed.
I have created an example, which should work.
The API documentation i have linked, documents other functions as implemented.
import lvgl as lv
chart = lv.chart(lv.scr_act())
chart.set_type(lv.chart.TYPE.LINE) # Line Mode
chart.set_style_local_line_width(lv.chart.PART.SERIES,0,1) #Line Width of Dataserie 0
chart.set_style_local_size(lv.chart.PART.SERIES,0,1) # Point Width
ser1 = chart.add_series(lv.color_hex(0x000000)) # Add data serie
chart.set_next(ser1,1) # Set next points on ser1
Late response, i know, but i hope it helps you.