<?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[issue compiling m5stickc joyc.ino in arduino.]]></title><description><![CDATA[<p dir="auto">I dont know if this is the right place to post it but.</p>
<p dir="auto">I downloaded the newest files for joyC and roverC due to the fact my roverC and joyC should be arriving soon, roverC does compile. joyC does not. the errors I get.</p>
<p dir="auto">Arduino: 1.8.9 (Windows 10), TD: 1.47-beta7, Board: "M5Stick-C, Default, 1500000, None"</p>
<p dir="auto">C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'void JoyC::SetLedColor(uint32_t)':</p>
<p dir="auto">JoyC.cpp:31:8: error: 'class M5StickC' has no member named 'I2C'</p>
<pre><code> M5.I2C.writeBytes(JOYC_ADDR, JOYC_COLOR_REG, color_buff, 3);

    ^
</code></pre>
<p dir="auto">C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'uint8_t JoyC::GetX(uint8_t)':</p>
<p dir="auto">JoyC.cpp:39:8: error: 'class M5StickC' has no member named 'I2C'</p>
<pre><code> M5.I2C.readByte(JOYC_ADDR, read_reg, &amp;value);

    ^
</code></pre>
<p dir="auto">C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'uint8_t JoyC::GetY(uint8_t)':</p>
<p dir="auto">JoyC.cpp:48:8: error: 'class M5StickC' has no member named 'I2C'</p>
<pre><code> M5.I2C.readByte(JOYC_ADDR, read_reg, &amp;value);

    ^
</code></pre>
<p dir="auto">C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'uint16_t JoyC::GetAngle(uint8_t)':</p>
<p dir="auto">JoyC.cpp:57:8: error: 'class M5StickC' has no member named 'I2C'</p>
<pre><code> M5.I2C.readBytes(JOYC_ADDR, read_reg, 2, i2c_read_buff);

    ^
</code></pre>
<p dir="auto">C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'uint16_t JoyC::GetDistance(uint8_t)':</p>
<p dir="auto">JoyC.cpp:66:8: error: 'class M5StickC' has no member named 'I2C'</p>
<pre><code> M5.I2C.readBytes(JOYC_ADDR, read_reg, 2, i2c_read_buff);

    ^
</code></pre>
<p dir="auto">C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'uint8_t JoyC::GetPress(uint8_t)':</p>
<p dir="auto">JoyC.cpp:73:8: error: 'class M5StickC' has no member named 'I2C'</p>
<pre><code> M5.I2C.readByte(JOYC_ADDR, JOYC_PRESS_REG, &amp;press_value);

    ^
</code></pre>
<p dir="auto">Using library M5StickC at version 0.1.1 in folder: C:\Users\admin\Documents\Arduino\libraries\M5StickC<br />
Using library Wire at version 1.0.1 in folder: C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Wire<br />
Using library SPI at version 1.0 in folder: C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPI<br />
Using library FS at version 1.0 in folder: C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS<br />
exit status 1<br />
'class M5StickC' has no member named 'I2C'</p>
<p dir="auto">let me know what I need to do to fix it? there doesnt seem to be a update for the m5stickC lib so not sure what else to do..</p>
]]></description><link>https://community.m5stack.com/topic/1530/issue-compiling-m5stickc-joyc-ino-in-arduino</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:41:06 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1530.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 Dec 2019 00:05:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to issue compiling m5stickc joyc.ino in arduino. on Fri, 15 Oct 2021 08:36:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/m5stack" aria-label="Profile: m5stack">@<bdi>m5stack</bdi></a> Any idea when that engineer will add I2C to the M5StickC Plus?  I just added it to my own copy and it only took 15 minutes. It'd make a lot more M5StickC programs compatible with the Plus too!</p>
]]></description><link>https://community.m5stack.com/post/15133</link><guid isPermaLink="true">https://community.m5stack.com/post/15133</guid><dc:creator><![CDATA[SarahC]]></dc:creator><pubDate>Fri, 15 Oct 2021 08:36:27 GMT</pubDate></item><item><title><![CDATA[Reply to issue compiling m5stickc joyc.ino in arduino. on Mon, 09 Dec 2019 01:19:35 GMT]]></title><description><![CDATA[<p dir="auto">hi thanks your feedback , i will contact to the engineer.</p>
]]></description><link>https://community.m5stack.com/post/6643</link><guid isPermaLink="true">https://community.m5stack.com/post/6643</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Mon, 09 Dec 2019 01:19:35 GMT</pubDate></item><item><title><![CDATA[Reply to issue compiling m5stickc joyc.ino in arduino. on Sun, 08 Dec 2019 20:45:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hague" aria-label="Profile: hague">@<bdi>hague</bdi></a> that fixed it,  thanks!</p>
]]></description><link>https://community.m5stack.com/post/6642</link><guid isPermaLink="true">https://community.m5stack.com/post/6642</guid><dc:creator><![CDATA[firehopper]]></dc:creator><pubDate>Sun, 08 Dec 2019 20:45:31 GMT</pubDate></item><item><title><![CDATA[Reply to issue compiling m5stickc joyc.ino in arduino. on Sun, 08 Dec 2019 16:04:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/firehopper" aria-label="Profile: firehopper">@<bdi>firehopper</bdi></a> I solved the problem by downloading the M5StickC Master from GitHub (<a href="https://github.com/m5stack/M5StickC" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5StickC</a>) and use the library from there in my project. The M5.I2C Method is quite new as you can see here: <a href="https://github.com/m5stack/M5StickC/commit/6e590f8e4ed5ffaaf989af7628bf421587e15eb8" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5StickC/commit/6e590f8e4ed5ffaaf989af7628bf421587e15eb8</a></p>
]]></description><link>https://community.m5stack.com/post/6641</link><guid isPermaLink="true">https://community.m5stack.com/post/6641</guid><dc:creator><![CDATA[hague]]></dc:creator><pubDate>Sun, 08 Dec 2019 16:04:20 GMT</pubDate></item></channel></rss>