<?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[LEGO+ Issue]]></title><description><![CDATA[<p dir="auto">Is there any code available for the LEGO+ board and the arduino ide?<br />
I have looked in the github and tried to google online but there are only examples for Uiflow and the "firmware" for the 328p is not very useful.<br />
Please help!!</p>
]]></description><link>https://community.m5stack.com/topic/1219/lego-issue</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 00:36:49 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1219.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Aug 2019 19:19:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LEGO+ Issue on Thu, 15 Aug 2019 11:31:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/androidspa" aria-label="Profile: androidspa">@<bdi>androidspa</bdi></a> said in <a href="/post/5168">LEGO+ Issue</a>:</p>
<blockquote>
<p dir="auto">I think I may have found a solution for controlling the LEGO+ module.</p>
<p dir="auto">It turns out that when you install the arduino library for the M5Stack, there is an example to interface the LEGO module. It is located in File&gt;Examples&gt;M5Stack&gt;Modules&gt;LEGO_PLUS&gt;LEGO_test</p>
<p dir="auto">From that example code the I2C commands can be figured out. I hope this information is useful to anybody facing the same issue as me</p>
</blockquote>
]]></description><link>https://community.m5stack.com/post/5169</link><guid isPermaLink="true">https://community.m5stack.com/post/5169</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 15 Aug 2019 11:31:27 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ Issue on Thu, 15 Aug 2019 11:21:32 GMT]]></title><description><![CDATA[<p dir="auto">I think I may have found a solution for controlling the LEGO+ module.</p>
<p dir="auto">It turns out that when you install the arduino library for the M5Stack, there is an example to interface the LEGO module. It is located in File&gt;Examples&gt;M5Stack&gt;Modules&gt;LEGO_PLUS&gt;LEGO_test</p>
<p dir="auto">From that example code the I2C commands can be figured out. I hope this information is useful to anybody facing the same issue as me</p>
]]></description><link>https://community.m5stack.com/post/5168</link><guid isPermaLink="true">https://community.m5stack.com/post/5168</guid><dc:creator><![CDATA[AndroidSpa]]></dc:creator><pubDate>Thu, 15 Aug 2019 11:21:32 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ Issue on Thu, 15 Aug 2019 04:42:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lukasmaximus" aria-label="Profile: lukasmaximus">@<bdi>lukasmaximus</bdi></a> said in <a href="/post/5159">LEGO+ Issue</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> That's weird. I asked around in assembly department and our graphic designer and no one seems to be aware of a card that comes with the lego+. Thanks for sending the link to the source.<br />
Okay, I must be going crazy then. I thought the commands were written down someware.</p>
</blockquote>
]]></description><link>https://community.m5stack.com/post/5163</link><guid isPermaLink="true">https://community.m5stack.com/post/5163</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 15 Aug 2019 04:42:02 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ Issue on Thu, 15 Aug 2019 02:01:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> That's weird. I asked around in assembly department and our graphic designer and no one seems to be aware of a card that comes with the lego+. Thanks for sending the link to the source.</p>
]]></description><link>https://community.m5stack.com/post/5159</link><guid isPermaLink="true">https://community.m5stack.com/post/5159</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Thu, 15 Aug 2019 02:01:29 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ Issue on Wed, 14 Aug 2019 15:28:38 GMT]]></title><description><![CDATA[<p dir="auto">Here is the source code file for the atmega <a href="https://github.com/m5stack/M5-ProductExampleCodes/blob/master/Module/LEGO_PLUS/firmware_328p/m5_lego/src/lego_motor_basic.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5-ProductExampleCodes/blob/master/Module/LEGO_PLUS/firmware_328p/m5_lego/src/lego_motor_basic.ino</a><br />
There was a card that had the commands on it that came with mine but I have lost the card.</p>
]]></description><link>https://community.m5stack.com/post/5155</link><guid isPermaLink="true">https://community.m5stack.com/post/5155</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 14 Aug 2019 15:28:38 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ Issue on Wed, 14 Aug 2019 14:15:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/androidspa" aria-label="Profile: androidspa">@<bdi>androidspa</bdi></a><br />
Very funny, I wanted to do that too :-)<br />
And I didn't find the I2C commands either.</p>
<p dir="auto">Greetings.</p>
]]></description><link>https://community.m5stack.com/post/5154</link><guid isPermaLink="true">https://community.m5stack.com/post/5154</guid><dc:creator><![CDATA[Gaius]]></dc:creator><pubDate>Wed, 14 Aug 2019 14:15:28 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ Issue on Wed, 14 Aug 2019 14:10:16 GMT]]></title><description><![CDATA[<p dir="auto">I am planning to control a 2-wheel robot by using the M5-stack Gray version and the LEGO+ module.</p>
<p dir="auto">I want to program everything by using the arduino IDE (not the UIflow). From what I understand looking at the schematics of the LEGO+ <a href="https://docs.m5stack.com/assets/img/product_pics/module/lego_plus_sch.png" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/assets/img/product_pics/module/lego_plus_sch.png</a></p>
<p dir="auto">The ATMEGA328 is connected to the encoder signals of the motors and to the L293DD, so the code to read the encoders and to drive the motors is preloaded in the firmware of the ATMEGA (I guess that the ATMEGA works as a I2C slave).</p>
<p dir="auto">The problem is that there is no information about the I2C commands that the M5Stack (the ESP32) have to send to the ATMEGA to read the encoders' values and to drive the motors</p>
<p dir="auto">Thanks in advance for any help that can be provided</p>
]]></description><link>https://community.m5stack.com/post/5153</link><guid isPermaLink="true">https://community.m5stack.com/post/5153</guid><dc:creator><![CDATA[AndroidSpa]]></dc:creator><pubDate>Wed, 14 Aug 2019 14:10:16 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ Issue on Wed, 14 Aug 2019 07:42:14 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/androidspa" aria-label="Profile: AndroidSpa">@<bdi>AndroidSpa</bdi></a> could you give us some more info about your project so we can better help you the github repository with code for lego+ is here <a href="https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/LEGO_PLUS/UIFlow" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/LEGO_PLUS/UIFlow</a></p>
]]></description><link>https://community.m5stack.com/post/5140</link><guid isPermaLink="true">https://community.m5stack.com/post/5140</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Wed, 14 Aug 2019 07:42:14 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ Issue on Tue, 13 Aug 2019 19:25:05 GMT]]></title><description><![CDATA[<p dir="auto">What exactly are you looking for?<br />
I have done some work with it.</p>
]]></description><link>https://community.m5stack.com/post/5121</link><guid isPermaLink="true">https://community.m5stack.com/post/5121</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 13 Aug 2019 19:25:05 GMT</pubDate></item></channel></rss>