<?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[Probleme mit Grafikfunktionen]]></title><description><![CDATA[<p dir="auto">Hallo zusammen,</p>
<p dir="auto">ich bin neu bei M5Stack und habe ein Problem im Zusammenhang mit platformio. Ich habe damit schon öfter was für den ESP8266 programmiert, aber irgendwie komme ich momentan nicht weiter. Ich habe einen funktionierenden Code-Schnipsel:</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">Das funktioniert wie es soll.<br />
Baue ich jetzt jedoch ein</p>
<pre><code>M5.Lcd.fillRect(10, 10, 100, 100, TFT_YELLOW);
</code></pre>
<p dir="auto">oder ein</p>
<pre><code>M5.Lcd.fillScreen(TFT_RED);
</code></pre>
<p dir="auto">Lässt sich das Ganze auch noch problemlos übertragen, nur der Bildschirm bleibt schwarz. Was mache ich denn falsch?</p>
<p dir="auto">Danke!</p>
<p dir="auto">Roland</p>
]]></description><link>https://community.m5stack.com/topic/3125/probleme-mit-grafikfunktionen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 10 May 2026 21:37:17 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3125.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Mar 2021 17:55:48 GMT</pubDate><ttl>60</ttl></channel></rss>