<?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[CoreInk example does not compile]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I have a M5-CoreInk and am trying out the example source code provided <a href="https://docs.m5stack.com/en/quick_start/coreink/arduino" target="_blank" rel="noopener noreferrer nofollow ugc">in the docs</a>.</p>
<p dir="auto">When I <strong>compile</strong> the source code with <em>Arduino</em>, I get the following <strong>error</strong>. Probably an issue with my setup. Can you please help me?</p>
<pre><code>Arduino: 1.8.19 (Linux), Board: "M5Stack-CoreInk, Default, 921600, None"











/home/axelle/Arduino/libraries/M5-CoreInk/src/M5CoreInk.cpp: In member function 'int M5CoreInk::begin(bool, bool, bool)':
/home/axelle/Arduino/libraries/M5-CoreInk/src/M5CoreInk.cpp:23:33: error: call of overloaded 'begin(int, int, int)' is ambiguous
         Wire.begin(32, 33, 10000);
                                 ^
In file included from /home/axelle/Arduino/libraries/M5-CoreInk/src/utility/BM8563.h:4,
                 from /home/axelle/Arduino/libraries/M5-CoreInk/src/M5CoreInk.h:8,
                 from /home/axelle/Arduino/libraries/M5-CoreInk/src/M5CoreInk.cpp:1:
/home/axelle/.arduino15/packages/m5stack/hardware/esp32/2.0.2/libraries/Wire/src/Wire.h:79:10: note: candidate: 'bool TwoWire::begin(int, int, uint32_t)'
     bool begin(int sda=-1, int scl=-1, uint32_t frequency=0); // returns true, if successful init of i2c bus
          ^~~~~
/home/axelle/.arduino15/packages/m5stack/hardware/esp32/2.0.2/libraries/Wire/src/Wire.h:80:10: note: candidate: 'bool TwoWire::begin(uint8_t, int, int, uint32_t)'
     bool begin(uint8_t slaveAddr, int sda=-1, int scl=-1, uint32_t frequency=0);
          ^~~~~
exit status 1
Error compiling for board M5Stack-CoreInk.


This report would have more information with
"Show verbose output during compilation"
option enabled in File -&gt; Preferences.
</code></pre>
<ul>
<li>I have added the libraries <strong>M5-CoreInk</strong> 0.0.2, <strong>M5GFX</strong> 0.0.17 and <strong>M5Unified</strong> 0.0.4 (not sure if I need the last 2).</li>
<li>I have added the board manager <code>https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json</code></li>
<li>My selected board is <code>M5Stack-CoreInk</code></li>
<li>My CoreInk seems to be functioning correctly, currently I have the UIFlow screen on it with the API Key.</li>
</ul>
<p dir="auto">Note anyway that the issue is with <em><strong>compiling</strong></em> the code. I haven't even gone past that step to push it on the device.</p>
]]></description><link>https://community.m5stack.com/topic/4103/coreink-example-does-not-compile</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 11:29:08 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4103.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Mar 2022 10:20:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CoreInk example does not compile on Mon, 07 Mar 2022 12:46:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> thanks! It works fine after the update :)</p>
]]></description><link>https://community.m5stack.com/post/16852</link><guid isPermaLink="true">https://community.m5stack.com/post/16852</guid><dc:creator><![CDATA[aafortinet]]></dc:creator><pubDate>Mon, 07 Mar 2022 12:46:22 GMT</pubDate></item><item><title><![CDATA[Reply to CoreInk example does not compile on Mon, 07 Mar 2022 11:25:50 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/aafortinet" aria-label="Profile: aafortinet">@<bdi>aafortinet</bdi></a></p>
<p dir="auto">download the latest version of the M5CoreInk library. This bug has been fixed <a href="https://github.com/m5stack/M5-CoreInk/commit/50efe48c8a14ed60dcd3c5c74effed4edca3eef7" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/16851</link><guid isPermaLink="true">https://community.m5stack.com/post/16851</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 07 Mar 2022 11:25:50 GMT</pubDate></item></channel></rss>