<?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[M5Paper partial Update Canvas]]></title><description><![CDATA[<p dir="auto">Found in the documentation the command<br />
Function: flushes the data in the buffer to the specified area of the screen in the specified mode.</p>
<p dir="auto">m5epd_err_t UpdateArea(uint16_t x, uint16_t y, uint16_t w, uint16_t h, m5epd_update_mode_t mode);</p>
<p dir="auto">Can I use it for partial  updating the canvas, if yes how to use this command?</p>
<p dir="auto">Cheers,<br />
Jan</p>
]]></description><link>https://community.m5stack.com/topic/2939/m5paper-partial-update-canvas</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:52:07 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2939.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Feb 2021 12:51:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Paper partial Update Canvas on Sun, 14 Feb 2021 12:32:45 GMT]]></title><description><![CDATA[<p dir="auto">As mentioned in the other thread, the missing step is transferring the canvas framebuffer to the EPD.<br />
If your loop function is changed as below, it works as you expect.</p>
<pre><code>void loop() {
  for (int i=1; i&lt;7; i++)
  {
    canvas1.drawString(testString[i],20,20);
    /* m5epd_err_t UpdateArea(uint16_t x, uint16_t y, uint16_t w, uint16_t h, m5epd_update_mode_t mode); */
    M5.EPD.WriteFullGram4bpp((uint8_t*)canvas1.frameBuffer());
    M5.EPD.UpdateArea(0,0,100,100,UPDATE_MODE_GL16);
    delay(1000);
  }
}
</code></pre>
]]></description><link>https://community.m5stack.com/post/12492</link><guid isPermaLink="true">https://community.m5stack.com/post/12492</guid><dc:creator><![CDATA[murraypaul]]></dc:creator><pubDate>Sun, 14 Feb 2021 12:32:45 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper partial Update Canvas on Fri, 12 Feb 2021 19:18:03 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><br />
I espect to see the characters be changed at the fix place. Do you have try to run my simple program?</p>
]]></description><link>https://community.m5stack.com/post/12472</link><guid isPermaLink="true">https://community.m5stack.com/post/12472</guid><dc:creator><![CDATA[Powersoft]]></dc:creator><pubDate>Fri, 12 Feb 2021 19:18:03 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper partial Update Canvas on Fri, 12 Feb 2021 19:14:39 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> said in <a href="/post/12466">M5Paper partial Update Canvas</a>:</p>
<blockquote>
<p dir="auto">You need to also include the M5stack libraries.</p>
</blockquote>
<p dir="auto">Wat do you mean with that? This simple program is complete or not?</p>
]]></description><link>https://community.m5stack.com/post/12471</link><guid isPermaLink="true">https://community.m5stack.com/post/12471</guid><dc:creator><![CDATA[Powersoft]]></dc:creator><pubDate>Fri, 12 Feb 2021 19:14:39 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper partial Update Canvas on Fri, 12 Feb 2021 12:40:30 GMT]]></title><description><![CDATA[<p dir="auto">You need to also include the M5stack libraries.<br />
What do you mean "not what you expect"<br />
any error message?<br />
Can you post a picture of the screen?</p>
]]></description><link>https://community.m5stack.com/post/12466</link><guid isPermaLink="true">https://community.m5stack.com/post/12466</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 12 Feb 2021 12:40:30 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper partial Update Canvas on Fri, 12 Feb 2021 11:09:22 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><br />
Thanks, I wont to update (redraw) every time a new character, without updating the whole screen. But the command is not do that what I expect.<br />
Her my short test program. What is wrong ont it?</p>
<p dir="auto">#include &lt;M5EPD.h&gt;<br />
M5EPD_Canvas canvas1(&amp;M5.EPD);</p>
<p dir="auto">String testString[]={"A","B","C","D","E","F","G"};</p>
<p dir="auto">void setup() {<br />
M5.begin();<br />
M5.TP.SetRotation(180);<br />
M5.EPD.SetRotation(180);<br />
M5.EPD.Clear(true);<br />
canvas1.createCanvas(960, 540);<br />
canvas1.loadFont("/fonts/GenSenRounded-R.ttf", SD);<br />
canvas1.createRender(60);<br />
canvas1.setTextSize(60);<br />
canvas1.drawString("A",20,20);<br />
canvas1.pushCanvas(0, 0, UPDATE_MODE_GL16);<br />
}</p>
<p dir="auto">void loop() {<br />
for (int i=1; i&lt;7; i++)<br />
{<br />
canvas1.drawString(testString[i],20,20);<br />
/* m5epd_err_t UpdateArea(uint16_t x, uint16_t y, uint16_t w, uint16_t h, m5epd_update_mode_t mode); */<br />
M5.EPD.UpdateArea(0,0,100,100,UPDATE_MODE_GL16);<br />
delay(1000);<br />
}<br />
}</p>
<p dir="auto">Cheers<br />
Jan.</p>
]]></description><link>https://community.m5stack.com/post/12463</link><guid isPermaLink="true">https://community.m5stack.com/post/12463</guid><dc:creator><![CDATA[Powersoft]]></dc:creator><pubDate>Fri, 12 Feb 2021 11:09:22 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper partial Update Canvas on Thu, 11 Feb 2021 19:43:13 GMT]]></title><description><![CDATA[<p dir="auto">m5epd_err_t UpdateArea(100,100,100,100)<br />
would update an area of 100 px X 100px with the top left corner starting at position X=100, Y=100.</p>
]]></description><link>https://community.m5stack.com/post/12453</link><guid isPermaLink="true">https://community.m5stack.com/post/12453</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 11 Feb 2021 19:43:13 GMT</pubDate></item></channel></rss>