<?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[Graphic functions not working]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">I am new to M5Stack but already programmed some stuff for esp8266 using platformio.</p>
<p dir="auto">I loaded all the necessary libs and board definitions and tried a short script:</p>
<pre><code>#include &lt;M5Core2.h&gt;

void setup(){

  // Initialize the M5Stack object
  M5.begin();

  // LCD display
  M5.Lcd.print("Hello world!");
  
}

// the loop routine runs over and over again forever
void loop() {
    M5.update();
}
</code></pre>
<p dir="auto">Everything worked as expected.<br />
But then I added some Code like this:</p>
<pre><code>M5.Lcd.fillRect(10, 10, 100, 100, TFT_YELLOW);
</code></pre>
<p dir="auto">or this:</p>
<pre><code>M5.Lcd.fillScreen(TFT_RED);
</code></pre>
<p dir="auto">and suddenly the screen stay black. You can only see the backlight working. When I remove the fill... rod draw.... part, it works again. What am I doing wrong?</p>
<p dir="auto">Thanks,<br />
Roland</p>
]]></description><link>https://community.m5stack.com/topic/3129/graphic-functions-not-working</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 05:49:30 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3129.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Mar 2021 18:56:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Graphic functions not working on Sun, 28 Mar 2021 13:26:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/8215">@flyceo</a></p>
<p dir="auto">not sure what's going on on your side as your code runs and works fine here - using PlatformIO as well. I see the text and the yellow square just fine.</p>
<p dir="auto">What does your <code>platform.ini</code> look like?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/13284</link><guid isPermaLink="true">https://community.m5stack.com/post/13284</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 28 Mar 2021 13:26:36 GMT</pubDate></item></channel></rss>