<?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[Arduino UNO + ST7789V2]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I am trying to run Arduino UNO + ST7789V2(M5stack), but when I try to run just sample basic program from M5stack, I always got an error:</p>
<p dir="auto">internal\memory.h:13:10: fatal error: memory: No such file or directory<br />
include memory<br />
compilation terminated. exit status 1".</p>
<p dir="auto">I have same result on two different PC. What do I need to check?<br />
With wiring everything fine, and communication ok.</p>
<p dir="auto">Thank you in advance!</p>
<pre><code>#include &lt;M5UnitLCD.h&gt;

M5UnitLCD display;

M5Canvas canvas(&amp;display);

static constexpr char text[] = "Hello world ! こんにちは世界！ this is long long string sample. 寿限無、寿限無、五劫の擦り切れ、海砂利水魚の、水行末・雲来末・風来末、喰う寝る処に住む処、藪ら柑子の藪柑子、パイポ・パイポ・パイポのシューリンガン、シューリンガンのグーリンダイ、グーリンダイのポンポコピーのポンポコナの、長久命の長助";
static constexpr size_t textlen = sizeof(text) / sizeof(text[0]);
int textpos = 0;
int scrollstep = 2;

void setup(void) 
{
  display.init();
  display.setRotation(2);
  canvas.setColorDepth(1); // mono color
  canvas.setFont(&amp;fonts::lgfxJapanMinchoP_32);
  canvas.setTextWrap(false);
  canvas.setTextSize(2);
  canvas.createSprite(display.width() + 64, 72);
}

void loop(void)
{
  int32_t cursor_x = canvas.getCursorX() - scrollstep;
  if (cursor_x &lt;= 0)
  {
    textpos = 0;
    cursor_x = display.width();
  }

  canvas.setCursor(cursor_x, 0);
  canvas.scroll(-scrollstep, 0);
  while (textpos &lt; textlen &amp;&amp; cursor_x &lt;= display.width())
  {
    canvas.print(text[textpos++]);
    cursor_x = canvas.getCursorX();
  }
  display.waitDisplay();
  canvas.pushSprite(&amp;display, 0, (display.height() - canvas.height()) &gt;&gt; 1);
}
</code></pre>
]]></description><link>https://community.m5stack.com/topic/6639/arduino-uno-st7789v2</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 23:54:32 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6639.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jul 2024 16:51:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Arduino UNO + ST7789V2 on Thu, 18 Jul 2024 14:39:09 GMT]]></title><description><![CDATA[<p dir="auto">@MARKS-MILINKOVS said in <a href="/post/25872">Arduino UNO + ST7789V2</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robski" aria-label="Profile: robski">@<bdi>robski</bdi></a> okay, and can I deal with it somehow?</p>
</blockquote>
<p dir="auto">show us your setup</p>
]]></description><link>https://community.m5stack.com/post/25873</link><guid isPermaLink="true">https://community.m5stack.com/post/25873</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Thu, 18 Jul 2024 14:39:09 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino UNO + ST7789V2 on Thu, 18 Jul 2024 14:36:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robski" aria-label="Profile: robski">@<bdi>robski</bdi></a> okay, and can I deal with it somehow?</p>
]]></description><link>https://community.m5stack.com/post/25872</link><guid isPermaLink="true">https://community.m5stack.com/post/25872</guid><dc:creator><![CDATA[MARKS.MILINKOVS]]></dc:creator><pubDate>Thu, 18 Jul 2024 14:36:47 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino UNO + ST7789V2 on Thu, 18 Jul 2024 07:49:18 GMT]]></title><description><![CDATA[<p dir="auto">@MARKS-MILINKOVS said in <a href="/post/25860">Arduino UNO + ST7789V2</a>:</p>
<blockquote>
<p dir="auto">Hello,<br />
I am trying to run Arduino UNO + ST7789V2(M5stack), but when I try to run just sample basic program from M5stack, I always got an error:</p>
<p dir="auto">internal\memory.h:13:10: fatal error: memory: No such file or directory<br />
include memory<br />
compilation terminated. exit status 1".</p>
<p dir="auto">I have same result on two different PC. What do I need to check?<br />
With wiring everything fine, and communication ok.</p>
<p dir="auto">Thank you in advance!</p>
<pre><code>#include &lt;M5UnitLCD.h&gt;

M5UnitLCD display;

M5Canvas canvas(&amp;display);

static constexpr char text[] = "Hello world ! こんにちは世界！ this is long long string sample. 寿限無、寿限無、五劫の擦り切れ、海砂利水魚の、水行末・雲来末・風来末、喰う寝る処に住む処、藪ら柑子の藪柑子、パイポ・パイポ・パイポのシューリンガン、シューリンガンのグーリンダイ、グーリンダイのポンポコピーのポンポコナの、長久命の長助";
static constexpr size_t textlen = sizeof(text) / sizeof(text[0]);
int textpos = 0;
int scrollstep = 2;

void setup(void) 
{
  display.init();
  display.setRotation(2);
  canvas.setColorDepth(1); // mono color
  canvas.setFont(&amp;fonts::lgfxJapanMinchoP_32);
  canvas.setTextWrap(false);
  canvas.setTextSize(2);
  canvas.createSprite(display.width() + 64, 72);
}

void loop(void)
{
  int32_t cursor_x = canvas.getCursorX() - scrollstep;
  if (cursor_x &lt;= 0)
  {
    textpos = 0;
    cursor_x = display.width();
  }

  canvas.setCursor(cursor_x, 0);
  canvas.scroll(-scrollstep, 0);
  while (textpos &lt; textlen &amp;&amp; cursor_x &lt;= display.width())
  {
    canvas.print(text[textpos++]);
    cursor_x = canvas.getCursorX();
  }
  display.waitDisplay();
  canvas.pushSprite(&amp;display, 0, (display.height() - canvas.height()) &gt;&gt; 1);
}
</code></pre>
</blockquote>
<p dir="auto">you aware that arduino UNO is not esp32 chip (all m5Stack is based on esp32 family)</p>
]]></description><link>https://community.m5stack.com/post/25865</link><guid isPermaLink="true">https://community.m5stack.com/post/25865</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Thu, 18 Jul 2024 07:49:18 GMT</pubDate></item></channel></rss>