<?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[Problem with M5.Lcd.readRect]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I've been implementing a menu system, and to be able to display the menu without destroying whatever was on the screen before, I am using M5.Lcd.readRect() to save parts of the screen in memory, to redraw later with M5.Lcd.pushRect().</p>
<p dir="auto">The problem is, it is currently not working. I could (almost) swear it worked a few days ago, but now when I call M5.Lcd.readRect(), all values are 0xFFFF...</p>
<p dir="auto"><img src="/assets/uploads/files/1517724198311-20180204_135355-resized.jpg" alt="0_1517724186126_20180204_135355.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">As you can see, there's plenty of blue and yellow (ugly I know, but I need to make sure!) in the top left corner. But the printout of save0 gives me this:</p>
<p dir="auto"><img src="/assets/uploads/files/1517724292070-20180204_135435-resized.jpg" alt="0_1517724276887_20180204_135435.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">All pixels are 0xFFFF... What am I missing here?</p>
<p dir="auto">TIA.</p>
]]></description><link>https://community.m5stack.com/topic/84/problem-with-m5-lcd-readrect</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:57:35 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/84.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 04 Feb 2018 06:05:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with M5.Lcd.readRect on Sun, 04 Feb 2018 09:24:12 GMT]]></title><description><![CDATA[<p dir="auto">So there's no way to make a copy of the screen for now?</p>
]]></description><link>https://community.m5stack.com/post/301</link><guid isPermaLink="true">https://community.m5stack.com/post/301</guid><dc:creator><![CDATA[dda]]></dc:creator><pubDate>Sun, 04 Feb 2018 09:24:12 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with M5.Lcd.readRect on Sun, 04 Feb 2018 08:31:51 GMT]]></title><description><![CDATA[<p dir="auto">LCD hardware is not connect the miso pin, sorry next version will remove it.</p>
]]></description><link>https://community.m5stack.com/post/300</link><guid isPermaLink="true">https://community.m5stack.com/post/300</guid><dc:creator><![CDATA[0x1abin]]></dc:creator><pubDate>Sun, 04 Feb 2018 08:31:51 GMT</pubDate></item></channel></rss>