<?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[USB communication]]></title><description><![CDATA[<p dir="auto">Dear All,<br />
I like UIFlow but I am not an expert of Python. I have always programmed through the standard Arduino IDE.<br />
I need to interface my M5Stack Core 2 with MegunoLink. This can be easily done if I use the standard IDE, but I am not able to do it with UIFlow.<br />
Basically I need to send to my PC through the USB a set of strings such as: {XYPLOT|DATA|Name|x|y}<br />
Could you help me?<br />
Thank you very much<br />
Bruno</p>
]]></description><link>https://community.m5stack.com/topic/3819/usb-communication</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 18:23:01 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3819.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Dec 2021 21:30:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to USB communication on Sun, 12 Dec 2021 19:22:25 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/10498">@brvus76</a></p>
<p dir="auto">I don't really know why the communication might be slow. I can only guess that UIFlow firmware maybe has some safeguards in place to prevent serial from flooding the line.</p>
<p dir="auto">I guess that your software on the PC manipulates the control lines (CTS, etc.) on the serial port in a way which triggers the auto download / reset mechanism in M5Core2. Unless there is some setting in your software to configure that behavior I don't think there is much you can do.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15794</link><guid isPermaLink="true">https://community.m5stack.com/post/15794</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 12 Dec 2021 19:22:25 GMT</pubDate></item><item><title><![CDATA[Reply to USB communication on Sun, 12 Dec 2021 18:08:49 GMT]]></title><description><![CDATA[<p dir="auto">Dear felmue,<br />
At first thank you very much for your answer. I apreciate this.<br />
I tried. It works (!) but I have some problems. First of all, the data transmission is really slow. I tried to modify the row:<br />
print((str(((str(((str(((str('{XYPLOT|DATA|Analog Measurements|') + str(tt)))) + str('|')))) + str((adc0.read()))))) + str('}')))<br />
with<br />
print("{XYPLOT|DATA|Analog Measurements|}, tt, "|", adc0.read(), "}")<br />
but without success.<br />
Another problem is that when I open the USB communication from my software on the PC the M5 has a reset...<br />
Could you help me?<br />
Thank you!</p>
]]></description><link>https://community.m5stack.com/post/15792</link><guid isPermaLink="true">https://community.m5stack.com/post/15792</guid><dc:creator><![CDATA[brvus76]]></dc:creator><pubDate>Sun, 12 Dec 2021 18:08:49 GMT</pubDate></item><item><title><![CDATA[Reply to USB communication on Sun, 12 Dec 2021 12:45:25 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/10498">@brvus76</a></p>
<p dir="auto">have you tried the <code>print</code> block? You can find it under <code>Text</code>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15790</link><guid isPermaLink="true">https://community.m5stack.com/post/15790</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 12 Dec 2021 12:45:25 GMT</pubDate></item></channel></rss>