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

    Traceback on AtomMatrix when running example

    Scheduled Pinned Locked Moved UIFlow
    7 Posts 3 Posters 6.8k 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.
    • M Offline
      mb
      last edited by

      Hi all,

      I am a newbie to M5Stack, just got my AtomMatrix and a few other goodies.

      I followed the instructions
      https://docs.m5stack.com/#/en/quick_start/atom/atom_quick_start_uiflow

      And ran the example code
      https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/Atom/Atom Matrix

      Then I receive an error on the serial console and AtomMatrix shows a red X

      Traceback (most recent call last):
        File "flow/m5cloud.py", line 82, in _exec_fun
        File "<string>", line 7, in <module>
        File "units/_rgb_multi.py", line 47, in set_screen
      IndexError: list index out of range
      

      UIFlow Web v1.4.5
      AtomMatrix v.1.6.5
      M5Burner 2.1.6

      Any ideas how to fix this?

      Thanks
      Mike

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

        Hello Mike

        I don't know if it helps, but I wouldn't mix UIFlow versions. Try selecting beta in UIFlow Web which should match the UIFlow firmware v1.6.5 on your M5AtomMatrix.

        Felix

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

        1 Reply Last reply Reply Quote 0
        • M Offline
          mb
          last edited by

          Thanks, I erased and re-flashed the AtomMatrix, now using v1.6.5 on device and web editor.

          A simple test program is working:

          Switch all LEDs red and green in loow

          But the official example from GitHub is failing with v1.6.5 (web + firmware).

          alt text

          Traceback (most recent call last):
            File "flow/m5cloud.py", line 82, in _exec_fun
            File "<string>", line 7, in <module>
            File "units/_rgb_multi.py", line 47, in set_screen
          IndexError: list index out of range
          
          1 Reply Last reply Reply Quote 0
          • m5stackM Offline
            m5stack
            last edited by

            thank you feedback, we will fix it as soon as possible.

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

              Hello Mike

              it looks like the AtomMatrix example has been replaced and works now. (And yes, the previous example was broken for me too.)

              Cheers
              Felix

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

              1 Reply Last reply Reply Quote 0
              • M Offline
                mb
                last edited by

                Thanks!

                1 Reply Last reply Reply Quote 0
                • m5stackM Offline
                  m5stack
                  last edited by

                  it is an old version program compatible problem. now we updated a new example.

                  https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/Atom/Atom Matrix

                  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