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

    MicroPython lcd.qrcode is not work

    Scheduled Pinned Locked Moved PRODUCTS
    3 Posts 2 Posters 9.4k Views 1 Watching
    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
      komikoni
      last edited by komikoni

      Hello

      Please let me ask a question about microPython.

      Regular M5 Cloud no
      MicroPython does not have lcd.qrcode.
      https://github.com/m5stack/M5Cloud#lcd
      However, M5 Flow UI has lcd.qrcode.

      Is there a way to use lcd.qrcode with M5 Cloud?
      Is there specification information on lcd.qrcode of M5 Flow UI?

      lukasmaximusL 1 Reply Last reply Reply Quote 0
      • lukasmaximusL Offline
        lukasmaximus @komikoni
        last edited by

        @komikoni Hi and sorry for the late reply. I tested myself and you are correct the lcd.qrcode is missing from the m5cloud firmware. I had a look in the REPL and noticed it was missing.
        see this screenshot https://ibb.co/njC2aA

        As the small development team we have has been fully focusing its efforts on Ui flow firmware of late I cannot foresee the m5cloud firmware being updated any time soon.

        I was wondering since uiflow is more feature rich than cloud now I was wondering why you prefer cloud over uiflow

        I'm sure you already figured it out but the lcd.qrcode command is used in this way

        lcd.qrcode('insert web url here', xposition, yposition, scale factor)

        for example

        lcd.qrcode('https://microsoft.com', 72, 32, 176)

        hope that helped, I will look into the problem to see if there are any alternative solutions

        1 Reply Last reply Reply Quote 1
        • K Offline
          komikoni
          last edited by komikoni

          @lukasmaximus 在 MicroPython lcd.qrcode is not work 中说:

          uiflow

          Thank you for your reply!
          By your explanation, I understand that there is a difference between the two services.

          I was thinking of using M5 Cloud Offline to use M5 Stack offline.

          I usually use Python, so I wanted to use microPython.

          However, given the richness of the library, I felt it should be implemented with cpp.

          In the future, if microPython 's functions are enhanced, I would like to try again.

          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