<?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[Wait instruction in a loop]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am aiming at updating a label every seconds but the rendering is always made at the very end of the loop.</p>
<p dir="auto">Using the <a href="https://m5stack.github.io/UIFlow_doc/en/en/Start_programming/Wait.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://m5stack.github.io/UIFlow_doc/en/en/Start_programming/Wait.html</a> I was hoping this type of loop would to it.</p>
<p dir="auto">Is there anything in particular to take into account?</p>
<p dir="auto">A specific button calls that function, the rest is pretty simple a label being displayed on the middle of the screen.</p>
<p dir="auto">But instead of seing, 1, 2, 3,....10</p>
<p dir="auto">Only 10 is displayed at when loop has completed.</p>
<p dir="auto"><img src="/assets/uploads/files/1636395034049-screenshot-2021-11-08-at-19.09.11.png" alt="0_1636395033501_Screenshot 2021-11-08 at 19.09.11.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/topic/3721/wait-instruction-in-a-loop</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 05:05:38 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3721.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Nov 2021 18:10:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wait instruction in a loop on Sun, 05 Dec 2021 19:13:53 GMT]]></title><description><![CDATA[<p dir="auto">I think I have the same problem, still trying to figure it out. I'm trying to gradually move an image in a loop by setting x / y and waiting, but the screen doesn't seem to update. Looking at your example I'm not sure how to apply a similar solution?</p>
]]></description><link>https://community.m5stack.com/post/15727</link><guid isPermaLink="true">https://community.m5stack.com/post/15727</guid><dc:creator><![CDATA[southsystems]]></dc:creator><pubDate>Sun, 05 Dec 2021 19:13:53 GMT</pubDate></item><item><title><![CDATA[Reply to Wait instruction in a loop on Mon, 08 Nov 2021 20:45:40 GMT]]></title><description><![CDATA[<p dir="auto">answering myself but in case it can help others this type of update has to be made as part of a loop screen instruction as in yellow above otherwise it is not working</p>
]]></description><link>https://community.m5stack.com/post/15402</link><guid isPermaLink="true">https://community.m5stack.com/post/15402</guid><dc:creator><![CDATA[darul75]]></dc:creator><pubDate>Mon, 08 Nov 2021 20:45:40 GMT</pubDate></item></channel></rss>