<?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 Canvas not working in Arduino IDE]]></title><description><![CDATA[<p dir="auto">Yesterday I received the M5Paper.<br />
Nice device, with a handy size.<br />
The tests on the M5Paper thought it right. But some examples in the Arduino IDE turn out not to work. After execution and loading, the screen remains blank.<br />
I hope these Arduino written programs have been tested before they are published!</p>
<p dir="auto">Even a simple program turns out not to work, which I have included.</p>
<pre><code>#include &lt;M5EPD.h&gt;
#include "binaryttf.h"

M5EPD_Canvas canvas(&amp;M5.EPD);

void setup()
{
    M5.begin();
    M5.EPD.SetRotation(0);
    M5.TP.SetRotation(0);
    M5.EPD.Clear(true);
    
    canvas.loadFont(binaryttf, sizeof(binaryttf));
    canvas.createCanvas(540, 960);
    canvas.setTextSize(48);
    canvas.drawString("4567", 0 , 0);
    canvas.pushCanvas(0, 0, UPDATE_MODE_GC16);   
}

void loop() {
  // put your main code here, to run repeatedly:
}
</code></pre>
<p dir="auto">I hope someone can help me with this so that it won't be a bit of a mess.</p>
<p dir="auto">With best regards,</p>
<p dir="auto">Jan<br />
Hellevoetsluis-NL</p>
]]></description><link>https://community.m5stack.com/topic/2668/m5paper-canvas-not-working-in-arduino-ide</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 07:52:47 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2668.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 29 Dec 2020 12:47:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Wed, 10 Feb 2021 05:37:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1718">@powersoft</a>, <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a><br />
Thank you both for your answers.<br />
The board manager url found on <a href="https://docs.m5stack.com/#/en/arduino/arduino_development" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/#/en/arduino/arduino_development</a> is apparently the old one and still does not contain the M5Paper board, but through the youtube video powersoft recommended I was able to find the correct url and everything works now as expected :)</p>
]]></description><link>https://community.m5stack.com/post/12397</link><guid isPermaLink="true">https://community.m5stack.com/post/12397</guid><dc:creator><![CDATA[mattp]]></dc:creator><pubDate>Wed, 10 Feb 2021 05:37:22 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Tue, 09 Feb 2021 18:09:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6811">@mattp</a><br />
Hello, found the solution into this video frome LUKE</p>
<p dir="auto">“M5Paper Seasons Greetings Display” on youtube.</p>
<p dir="auto">He describe how to load the definitions of the m5stack boards.</p>
<p dir="auto">This video was verry helpfull for me😮</p>
]]></description><link>https://community.m5stack.com/post/12389</link><guid isPermaLink="true">https://community.m5stack.com/post/12389</guid><dc:creator><![CDATA[Powersoft]]></dc:creator><pubDate>Tue, 09 Feb 2021 18:09:28 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Tue, 09 Feb 2021 18:03:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6811">@mattp</a> reupdate arduino libs and board definations as there is a M5paper option now under boards.</p>
]]></description><link>https://community.m5stack.com/post/12388</link><guid isPermaLink="true">https://community.m5stack.com/post/12388</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 09 Feb 2021 18:03:47 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Tue, 09 Feb 2021 14:58:15 GMT]]></title><description><![CDATA[<p dir="auto">Is there a working solution for the Arduino IDE as well?<br />
Also: is there an official board configuration available yet? I only find M5Core, M5Stick C,... but none for the M5Paper</p>
]]></description><link>https://community.m5stack.com/post/12398</link><guid isPermaLink="true">https://community.m5stack.com/post/12398</guid><dc:creator><![CDATA[mattp]]></dc:creator><pubDate>Tue, 09 Feb 2021 14:58:15 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Mon, 08 Feb 2021 20:01:51 GMT]]></title><description><![CDATA[<p dir="auto">Is there a fix for arduino IDE as well? Having the exact same issue with the canvas size on latest arduino IDE. Or did I use the wrong board configuration? (Using M5Stack-Core-ESP32 because there is no dedicated M5Paper board config)</p>
]]></description><link>https://community.m5stack.com/post/12378</link><guid isPermaLink="true">https://community.m5stack.com/post/12378</guid><dc:creator><![CDATA[mattp]]></dc:creator><pubDate>Mon, 08 Feb 2021 20:01:51 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Fri, 05 Feb 2021 19:33:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6406">@sambartle</a> I struggled for a few hours now to find out why the display is not showing anything ... then I found your response here. Now it works flawlessly - thanks a lot!</p>
<p dir="auto">M5 folks: you might want to add that to your library's README on GitHub - I can't be the only one who wants to use platformio for developing software for the M5 Paper.</p>
]]></description><link>https://community.m5stack.com/post/12327</link><guid isPermaLink="true">https://community.m5stack.com/post/12327</guid><dc:creator><![CDATA[entrusc]]></dc:creator><pubDate>Fri, 05 Feb 2021 19:33:40 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Thu, 28 Jan 2021 15:07:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1718">@powersoft</a> glad you got it sorted out :)</p>
]]></description><link>https://community.m5stack.com/post/12107</link><guid isPermaLink="true">https://community.m5stack.com/post/12107</guid><dc:creator><![CDATA[Zontex]]></dc:creator><pubDate>Thu, 28 Jan 2021 15:07:23 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Thu, 28 Jan 2021 09:33:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6406">@sambartle</a><br />
Yes, all is working fine. When I was srated i dont find the M5Paper. After installing all m5stack elements I had the posibility tp choose th M5Paper, snd all examples running well!</p>
]]></description><link>https://community.m5stack.com/post/12080</link><guid isPermaLink="true">https://community.m5stack.com/post/12080</guid><dc:creator><![CDATA[Powersoft]]></dc:creator><pubDate>Thu, 28 Jan 2021 09:33:40 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Tue, 26 Jan 2021 17:30:36 GMT]]></title><description><![CDATA[<p dir="auto">To go full circle and solve the issue... Are you using platformio rather than arduino?</p>
<p dir="auto">You need to add:</p>
<pre><code># Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     0x9000,  0x5000,
otadata,  data, ota,     0xe000,  0x2000,
app0,     app,  ota_0,   0x10000, 0x640000,
app1,     app,  ota_1,   0x650000,0x640000,
spiffs,   data, spiffs,  0xc90000,0x370000,
</code></pre>
<p dir="auto">in a new file "default_16MB.csv" in the same folder as platformio.ini, and modify platformio.ini to add:</p>
<pre><code>board_build.partitions = default_16MB.csv
build_flags = 
	-DCORE_DEBUG_LEVEL=4
	-DBOARD_HAS_PSRAM
	-mfix-esp32-psram-cache-issue
</code></pre>
<p dir="auto">Which fixes the RAM issue and allows using the full size canvas.</p>
]]></description><link>https://community.m5stack.com/post/12043</link><guid isPermaLink="true">https://community.m5stack.com/post/12043</guid><dc:creator><![CDATA[sambartle]]></dc:creator><pubDate>Tue, 26 Jan 2021 17:30:36 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Tue, 26 Jan 2021 16:27:34 GMT]]></title><description><![CDATA[<p dir="auto">The problem including in some of the built in examples (HelloWorld.ino) seems to be related to the canvas size.. in the Hello World example it creates a 540x960 canvas (which is the resolution of the display)</p>
<p dir="auto">If you drop that down to 540x400.. it works fine.. Is there not enough RAM to create a canvas the size of the display maybe?</p>
]]></description><link>https://community.m5stack.com/post/12039</link><guid isPermaLink="true">https://community.m5stack.com/post/12039</guid><dc:creator><![CDATA[sambartle]]></dc:creator><pubDate>Tue, 26 Jan 2021 16:27:34 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Tue, 26 Jan 2021 15:52:12 GMT]]></title><description><![CDATA[<p dir="auto">Did you make any progress on this?</p>
<p dir="auto">The "HelloWorld.ino" example from M5EPD which I believe is very similar to the one above.. does not work either..</p>
<pre><code>#include &lt;M5EPD.h&gt;

M5EPD_Canvas canvas(&amp;M5.EPD);

void setup()
{
    M5.begin();
    M5.EPD.SetRotation(90);
    M5.EPD.Clear(true);
    M5.RTC.begin();
    canvas.createCanvas(540, 960);
    canvas.setTextSize(3);
    canvas.drawString("Hello World", 45, 350);
    canvas.pushCanvas(0,0,UPDATE_MODE_DU4);
}

void loop()
{

}
</code></pre>
<p dir="auto">Produces a blank page when rendered.</p>
]]></description><link>https://community.m5stack.com/post/12038</link><guid isPermaLink="true">https://community.m5stack.com/post/12038</guid><dc:creator><![CDATA[sambartle]]></dc:creator><pubDate>Tue, 26 Jan 2021 15:52:12 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper Canvas not working in Arduino IDE on Wed, 30 Dec 2020 08:37:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1718">@powersoft</a> have you tried any of the built in examples in the M5Paper library?</p>
]]></description><link>https://community.m5stack.com/post/11431</link><guid isPermaLink="true">https://community.m5stack.com/post/11431</guid><dc:creator><![CDATA[Zontex]]></dc:creator><pubDate>Wed, 30 Dec 2020 08:37:03 GMT</pubDate></item></channel></rss>