<?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[RESOLVED: Blank screen upon compile and upload of first sketch listed on M5-docs page]]></title><description><![CDATA[<p dir="auto">Hi All</p>
<p dir="auto">So, I took delivery of my new M5Stack Core2 device, and when I powered it on I saw the regular factory script running fine.  Reading through the M5-docs Arduino set-up pages, I followed the instructions, the last of which asked to paste this into a new sketch:</p>
<p dir="auto">#include &lt;M5Stack.h&gt;</p>
<p dir="auto">/* After M5Core is started or reset<br />
the program in the setUp () function will be run, and this part will only be run once.<br />
After M5Core is started or reset, it will start to execute the program in the setup() function, and this part will only be executed once. <em>/<br />
void setup(){<br />
M5.begin(); //Init M5Core. Initialize M5Core<br />
M5.Power.begin(); //Init Power module. Initialize the power module<br />
/</em> Power chip connected to gpio21, gpio22, I2C device<br />
Set battery charging voltage and current<br />
If used battery, please call this function in your project */<br />
M5.Lcd.print("Hello World"); // Print text on the screen (string) Print text on the screen (string)<br />
}</p>
<p dir="auto">/* After the program in setup() runs, it runs the program in loop()<br />
The loop() function is an infinite loop in which the program runs repeatedly<br />
After the program in the setup() function is executed, the program in the loop() function will be executed<br />
The loop() function is an endless loop, in which the program will continue to run repeatedly */<br />
void loop() {</p>
<p dir="auto">}</p>
<p dir="auto">When I click upload using the ArduinoIDE2, the code compiles, and uploads via the serial port, then the usual ...</p>
<p dir="auto">Writing at 0x0005e0ba... (78 %)<br />
Writing at 0x00065d85... (85 %)<br />
Writing at 0x0006b48f... (92 %)<br />
Writing at 0x00070ea9... (100 %)<br />
Wrote 406000 bytes (219673 compressed) at 0x00010000 in 3.9 seconds (effective 842.2 kbit/s)...<br />
Hash of data verified.</p>
<p dir="auto">Leaving...<br />
Hard resetting via RTS pin...</p>
<p dir="auto">... but all I see is a total blank screen on my Core2.</p>
<p dir="auto">Could someone help me shed some light on this please, many thanks.</p>
]]></description><link>https://community.m5stack.com/topic/5133/resolved-blank-screen-upon-compile-and-upload-of-first-sketch-listed-on-m5-docs-page</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 09:37:17 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5133.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Mar 2023 11:58:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RESOLVED: Blank screen upon compile and upload of first sketch listed on M5-docs page on Wed, 15 Mar 2023 23:30:41 GMT]]></title><description><![CDATA[<p dir="auto">Hello@theMusicMan</p>
<p dir="auto">M5Stack Core2 uses:</p>
<p dir="auto">m5stack/M5Core2<br />
<a href="https://github.com/m5stack/M5Core2" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Core2</a></p>
]]></description><link>https://community.m5stack.com/post/20352</link><guid isPermaLink="true">https://community.m5stack.com/post/20352</guid><dc:creator><![CDATA[macsbug]]></dc:creator><pubDate>Wed, 15 Mar 2023 23:30:41 GMT</pubDate></item><item><title><![CDATA[Reply to RESOLVED: Blank screen upon compile and upload of first sketch listed on M5-docs page on Wed, 15 Mar 2023 12:42:24 GMT]]></title><description><![CDATA[<p dir="auto">So, I resorted to M5burner to restore the factory image which works, so it is something to do with the upload process.</p>
<p dir="auto">This was 100% new user error!!!!!</p>
<p dir="auto">Note to self: Read the set up instructions carefully, and don't follow the instructions for the M5Stack when you have an M5Core2 :)</p>
<p dir="auto">Resolved.</p>
]]></description><link>https://community.m5stack.com/post/20346</link><guid isPermaLink="true">https://community.m5stack.com/post/20346</guid><dc:creator><![CDATA[theMusicMan]]></dc:creator><pubDate>Wed, 15 Mar 2023 12:42:24 GMT</pubDate></item></channel></rss>