<?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[M5StickCPlus doesn&#x27;t program correctly]]></title><description><![CDATA[<p dir="auto">I'm having a real basic issue programming the M5StickCPlus.  I am using the M5StickCPlus library but the only program that works correctly so far is the FactoryTest.ino.</p>
<p dir="auto">I tried using AXP192.ino and I got the following error:<br />
M5StickCPlus_AXP192:38:16: error: 'class AXP192' has no member named 'SetLDO3'<br />
M5.Axp.SetLDO3(false);</p>
<p dir="auto">I did #include &lt;M5StickCPlus.h&gt;</p>
<p dir="auto">I also tried I2C_Tester.ino and it runs if I don't have any external I2C devices, but if I add an I2C device in the Grove port - the Display no longer works.</p>
<p dir="auto">Is there something else that I need to do besides changing the library reference to use M5StickC programs with the Plus?</p>
]]></description><link>https://community.m5stack.com/topic/2625/m5stickcplus-doesn-t-program-correctly</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 07:22:13 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2625.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 20 Dec 2020 05:46:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5StickCPlus doesn&#x27;t program correctly on Sun, 20 Dec 2020 18:03:28 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Felix,</p>
<p dir="auto">That helped.  I guess from the documentation I thought that just adding the M5StickCPlus library would work.  I have verified that some other programs do work (Display, TFT_Clock, PowerWake) with adjustments for the larger display size.</p>
<p dir="auto">The AXP192 and I2C_Tester programs work with your changes although I left Wire.begin() at default because I was checking the bus on the Grove port and that now is working.</p>
<p dir="auto">I did notice that on the Plus there is a small current draw on the battery (-0.5 mA) when I am running on USB power but it is 0mA on the StickC.</p>
<p dir="auto">Ralph</p>
]]></description><link>https://community.m5stack.com/post/11309</link><guid isPermaLink="true">https://community.m5stack.com/post/11309</guid><dc:creator><![CDATA[ralphjy]]></dc:creator><pubDate>Sun, 20 Dec 2020 18:03:28 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickCPlus doesn&#x27;t program correctly on Sun, 20 Dec 2020 07:27:50 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/5371">@ralphjy</a></p>
<p dir="auto">sorry for the inconvenience. It seems that only the factory test code has been adapted for M5StickCPlus as it is the only example in its example directory.</p>
<p dir="auto">All other examples are made for M5StickC and might need some adaption first to run properly on M5StickCPlus.</p>
<p dir="auto">I had a look at AXP192.ino and I2C_Tester.ino - here are the modifications so they run on M5StickCPlus:</p>
<p dir="auto">AXP192.ino</p>
<ul>
<li>Comment out <code>M5.Axp.SetLDO3(false);</code> as it is not really needed (or adapt the missing function from M5StickC).</li>
<li>Comment out <code>M5.Axp.SetChargeCurrent(CURRENT_100MA);</code> as it is not needed - the charging current is already set in <code>M5.begin()</code>.</li>
</ul>
<p dir="auto">I2C_Tester.ino</p>
<ul>
<li>Add <code>M5.begin();</code> at the beginning of <code>setup()</code>.</li>
<li>Change <code>Wire.begin();</code> to <code>Wire.begin(21, 22);</code></li>
</ul>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/11298</link><guid isPermaLink="true">https://community.m5stack.com/post/11298</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 20 Dec 2020 07:27:50 GMT</pubDate></item></channel></rss>