🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Deleting QR from screen

    Scheduled Pinned Locked Moved UIFlow
    3 Posts 2 Posters 5.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      Kris
      last edited by

      In this program I try to set the temperature using Remote + and it works. However, I have a problem with removing the QR code from the screen. I delete the screen with a long press of A, but the texts do not return to the screen although they are in a loop.!0_1635090709115_env+QR.png 0_1635090759714_screen.jpg

      1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue
        last edited by

        Hello @Kris

        there seems to be some logic which only actually (re-)draws labels (probably other stuff too) onto the screen when its content has changed from last time. My guess would be that this is done to prevent flickering.

        So in your case after setting the screen black only the labels which have different content from before are actually redrawn. The only way I found to 'fix' this is that after setting the screen background to also set all the labels to let's say an empty string, e.g. "". This will force a redraw.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          Kris @felmue
          last edited by

          @felmue Good idea. Thanks

          1 Reply Last reply Reply Quote 0

          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
          • First post
            Last post