Wait instruction in a loop
-
Hello,
I am aiming at updating a label every seconds but the rendering is always made at the very end of the loop.
Using the https://m5stack.github.io/UIFlow_doc/en/en/Start_programming/Wait.html I was hoping this type of loop would to it.
Is there anything in particular to take into account?
A specific button calls that function, the rest is pretty simple a label being displayed on the middle of the screen.
But instead of seing, 1, 2, 3,....10
Only 10 is displayed at when loop has completed.

-
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
-
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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login