<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MicroPython]]></title><description><![CDATA[<p dir="auto"><strong>Good morning everyone,</strong></p>
<p dir="auto">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.</p>
<p dir="auto">Attached page of the examples that if they are good but they are not complete:</p>
<ul>
<li><a href="https://docs.m5stack.com/en/mpy/display/m5stack_lvgl" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/en/mpy/display/m5stack_lvgl</a></li>
</ul>
<p dir="auto">Here you will find several examples but there is no event code.</p>
<p dir="auto">I see that M5stack core 2 with micropython is adapted with the library 'lvgl' attached guide page:</p>
<ul>
<li><a href="https://docs.lvgl.io/master/examples.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.lvgl.io/master/examples.html</a></li>
</ul>
<p dir="auto">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:</p>
<p dir="auto"><strong>EXAMPLES PAGE:</strong></p>
<ul>
<li><a href="https://docs.lvgl.io/master/examples.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.lvgl.io/master/examples.html</a></li>
</ul>
<p dir="auto"><strong>SIMULATOR:</strong><br />
<a href="https://sim.lvgl.io/v8.1/micropython/ports/javascript/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lvgl/71e6f65d519443b2c72a4b1b0b495dcfbc0fc91f/exadersader/exader/exader/examples/" target="_blank" rel="noopener noreferrer nofollow ugc">https://sim.lvgl.io/v8.1/micropython/ports/javascript/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lvgl/71e6f65d519443b2c72a4b1b0b495dcfbc0fc91f/exadersader/exader/exader/examples/</a> <a href="//raw.githubusercontent.com/lvgl/lvgl/71e6f65d519443b2c72a4b1b0b495dcfbc0fc91f/examples/widgets/chart/lv_example_chart_1.py" target="_blank" rel="noopener noreferrer nofollow ugc">//raw.githubusercontent.com/lvgl/lvgl/71e6f65d519443b2c72a4b1b0b495dcfbc0fc91f/examples/widgets/chart/lv_example_chart_1.py</a></p>
<p dir="auto"><strong>CHART:</strong></p>
<ul>
<li><a href="https://docs.lvgl.io/master/widgets/extra/chart.html?highlight=chart" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.lvgl.io/master/widgets/extra/chart.html?highlight=chart</a></li>
<li><a href="https://github.com/lvgl/lvgl/blob/71e6f65d519443b2c72a4b1b0b495dcfbc0fc91f/examples/widgets/chart/lv_example_chart_6.py" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/lvgl/lvgl/blob/71e6f65d519443b2c72a4b1b0b495dcfbc0fc91f/examples/widgets/chart/lv_example_chart_6.py</a></li>
</ul>
<p dir="auto">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.</p>
<p dir="auto"><em><strong>Thank you very much Community.</strong></em></p>
]]></description><link>https://community.m5stack.com/topic/3581/micropython</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:43:34 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3581.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Sep 2021 09:29:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MicroPython on Mon, 07 Mar 2022 16:21:44 GMT]]></title><description><![CDATA[<p dir="auto">Hey good afternoon</p>
<p dir="auto">I am trying to use also the LVGL and its charts on the Core2.<br />
I have the version 1.9.2 installed.</p>
<p dir="auto">I have created an example, which should work.<br />
The API documentation i have linked, documents other functions as implemented.</p>
<blockquote>
<p dir="auto">import lvgl as lv</p>
<p dir="auto">chart = lv.chart(lv.scr_act())<br />
chart.set_size(200, 150)<br />
chart.set_type(lv.chart.TYPE.LINE)   # Line Mode</p>
<p dir="auto">chart.set_point_count(20)<br />
chart.set_y_range(lv.chart.AXIS.PRIMARY_Y,0,120)<br />
chart.set_style_local_line_width(lv.chart.PART.SERIES,0,1) #Line Width of Dataserie 0<br />
chart.set_style_local_size(lv.chart.PART.SERIES,0,1) # Point Width</p>
<p dir="auto">ser1 = chart.add_series(lv.color_hex(0x000000)) # Add data serie</p>
<p dir="auto">chart.set_next(ser1,1) # Set next points on ser1<br />
chart.set_next(ser1,2)<br />
chart.set_next(ser1,10)<br />
chart.set_next(ser1,10)<br />
chart.set_next(ser1,10)<br />
chart.set_next(ser1,10)<br />
chart.set_next(ser1,10)<br />
chart.set_next(ser1,30)<br />
chart.set_next(ser1,70)<br />
chart.set_next(ser1,110)</p>
</blockquote>
<p dir="auto">Late response, i know, but i hope it helps you.<br />
Best regards</p>
]]></description><link>https://community.m5stack.com/post/16854</link><guid isPermaLink="true">https://community.m5stack.com/post/16854</guid><dc:creator><![CDATA[WoeTan]]></dc:creator><pubDate>Mon, 07 Mar 2022 16:21:44 GMT</pubDate></item></channel></rss>