<?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[Cardputer display disabled after uploading sample Display code from Github]]></title><description><![CDATA[<p dir="auto">I uploaded this to test product for first time and out put said "Hard reset" now display is off.</p>
<p dir="auto">/**</p>
<ul>
<li>@file display.ino</li>
<li>@author SeanKwok (<a href="mailto:shaoxiang@m5stack.com" target="_blank" rel="noopener noreferrer nofollow ugc">shaoxiang@m5stack.com</a>)</li>
<li><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/263918">@brief</a> M5Cardputer Display Test</li>
<li>@version 0.1</li>
<li>@date 2023-10-09</li>
<li></li>
<li></li>
<li>@Hardwares: M5Cardputer</li>
<li><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/280973">@Platform</a> Version: Arduino M5Stack Board Manager v2.0.7</li>
<li>@Dependent Library:</li>
<li>M5GFX: <a href="https://github.com/m5stack/M5GFX" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5GFX</a></li>
<li>M5Unified: <a href="https://github.com/m5stack/M5Unified" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Unified</a><br />
*/<br />
#include "M5Cardputer.h"</li>
</ul>
<p dir="auto">void draw_function(LovyanGFX* gfx) {<br />
int x      = rand() % gfx-&gt;width();<br />
int y      = rand() % gfx-&gt;height();<br />
int r      = (gfx-&gt;width() &gt;&gt; 4) + 2;<br />
uint16_t c = rand();<br />
gfx-&gt;fillRect(x - r, y - r, r * 2, r * 2, c);<br />
}</p>
<p dir="auto">void setup() {<br />
auto cfg = M5.config();<br />
M5Cardputer.begin(cfg);<br />
int textsize = M5Cardputer.Display.height() / 60;<br />
if (textsize == 0) {<br />
textsize = 1;<br />
}<br />
M5Cardputer.Display.setTextSize(textsize);<br />
}</p>
<p dir="auto">void loop() {<br />
int x      = rand() % M5Cardputer.Display.width();<br />
int y      = rand() % M5Cardputer.Display.height();<br />
int r      = (M5Cardputer.Display.width() &gt;&gt; 4) + 2;<br />
uint16_t c = rand();<br />
M5Cardputer.Display.fillCircle(x, y, r, c);<br />
draw_function(&amp;M5Cardputer.Display);</p>
]]></description><link>https://community.m5stack.com/topic/5773/cardputer-display-disabled-after-uploading-sample-display-code-from-github</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 16:16:23 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5773.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Nov 2023 17:07:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cardputer display disabled after uploading sample Display code from Github on Sun, 11 Feb 2024 20:38:47 GMT]]></title><description><![CDATA[<p dir="auto">Thanks so much, I thought I bricked by cardputer and it is back.</p>
]]></description><link>https://community.m5stack.com/post/23757</link><guid isPermaLink="true">https://community.m5stack.com/post/23757</guid><dc:creator><![CDATA[blembke]]></dc:creator><pubDate>Sun, 11 Feb 2024 20:38:47 GMT</pubDate></item><item><title><![CDATA[Reply to Cardputer display disabled after uploading sample Display code from Github on Mon, 13 Nov 2023 16:35:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/62005">@insight3fl</a> burner was fast and easy to retore factory default including a few extras like wifi connect. There is also one other Burner program "Nemo" that works great. I  hope for us newbees there will be more packed tools. I am receiving an order today for RFID, Enviromental, motion and a few other plug in modules.</p>
<p dir="auto">Thank you</p>
]]></description><link>https://community.m5stack.com/post/22738</link><guid isPermaLink="true">https://community.m5stack.com/post/22738</guid><dc:creator><![CDATA[insight3fl]]></dc:creator><pubDate>Mon, 13 Nov 2023 16:35:09 GMT</pubDate></item><item><title><![CDATA[Reply to Cardputer display disabled after uploading sample Display code from Github on Thu, 09 Nov 2023 11:32:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/32268">@4x0nn</a> Thanks!  Obviously I am a newbee and have much to learn.</p>
]]></description><link>https://community.m5stack.com/post/22688</link><guid isPermaLink="true">https://community.m5stack.com/post/22688</guid><dc:creator><![CDATA[insight3fl]]></dc:creator><pubDate>Thu, 09 Nov 2023 11:32:01 GMT</pubDate></item><item><title><![CDATA[Reply to Cardputer display disabled after uploading sample Display code from Github on Wed, 08 Nov 2023 05:15:36 GMT]]></title><description><![CDATA[<p dir="auto">You'll need to re-upload the factory firmware. I think I saw someone uploaded it 3rd party in M5Burner. If not, I ripped a clean copy of my firmware and I'll share it tomorrow. Just click "ALL" and then search "cardputer" in the search box on the M5Burner app.</p>
]]></description><link>https://community.m5stack.com/post/22675</link><guid isPermaLink="true">https://community.m5stack.com/post/22675</guid><dc:creator><![CDATA[4x0nn]]></dc:creator><pubDate>Wed, 08 Nov 2023 05:15:36 GMT</pubDate></item><item><title><![CDATA[Reply to Cardputer display disabled after uploading sample Display code from Github on Mon, 06 Nov 2023 13:15:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/62005">@insight3fl</a>  I uploaded the "Buzzer test" .ino and it successfully loaded ran, and shows "Button Test" across the display. That said, none of the rest buttons seem to function so every time I turn on the device, the sketch is still running and showing the "Buzzer Test" and beeping of course.</p>
<p dir="auto">How do I restore the Cardputer to factory default?  Pushing the go button while turning on does not seem to work.</p>
<p dir="auto">Thanks for helping a newbee!</p>
]]></description><link>https://community.m5stack.com/post/22663</link><guid isPermaLink="true">https://community.m5stack.com/post/22663</guid><dc:creator><![CDATA[insight3fl]]></dc:creator><pubDate>Mon, 06 Nov 2023 13:15:32 GMT</pubDate></item></channel></rss>