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

    UIFlow 1.8.6

    Official Updates
    7
    12
    16.2k
    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.
    • m5stackM
      m5stack
      last edited by

      we will update the tutorial as soon as possible

      MatiM 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        I2C bus error when trying to use the Colour LCD unit on core 2

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • MatiM
          Mati
          last edited by

          LCD color vs Atom lite
          Traceback (most recent call last):
          File "flow/m5cloud.py", line 82, in _exec_fun
          File "<string>", line 20, in <module>
          File "units/_lcd.py", line 128, in fill
          AttributeError: 'Lcd' object has no attribute 'frame_buf'

          Traceback (most recent call last):
          File "flow/m5cloud.py", line 82, in _exec_fun
          File "<string>", line 20, in <module>
          File "units/_lcd.py", line 128, in fill
          AttributeError: 'Lcd' object has no attribute 'frame_buf'

          Traceback (most recent call last):
          File "flow/m5cloud.py", line 82, in _exec_fun
          File "<string>", line 22, in <module>
          File "units/_lcd.py", line 169, in show_on
          File "i2c_bus.py", line 101, in write_mem_list
          MemoryError: memory allocation failed, allocating 64800 bytes

          1 Reply Last reply Reply Quote 0
          • MatiM
            Mati @m5stack
            last edited by

            @m5stack said in UIFlow 1.8.6:

            we will update the tutorial as soon as possible

            in my case all is working fine on core2 LCD module is connected over PortA

            ajb2k3A 1 Reply Last reply Reply Quote 0
            • ajb2k3A
              ajb2k3 @Mati
              last edited by

              @mati said in UIFlow 1.8.6:

              @m5stack said in UIFlow 1.8.6:

              we will update the tutorial as soon as possible

              in my case all is working fine on core2 LCD module is connected over PortA

              Have you updated the firmware on the colour lcd?
              I get the framebuf error if I don't add the init screen block

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              MatiM 1 Reply Last reply Reply Quote 0
              • MatiM
                Mati @ajb2k3
                last edited by

                @ajb2k3 said in UIFlow 1.8.6:

                @mati said in UIFlow 1.8.6:

                @m5stack said in UIFlow 1.8.6:

                we will update the tutorial as soon as possible

                in my case all is working fine on core2 LCD module is connected over PortA

                Have you updated the firmware on the colour lcd?
                I get the framebuf error if I don't add the init screen block

                Nope, just out of the box and go. First try with Atom lite fail but on core2 and init in the setup all looks legit.

                PhuturistP 1 Reply Last reply Reply Quote 0
                • S
                  Soong
                  last edited by

                  LCD firmware update and device tested with M5StickC, ATOM, Stamp... From Arduino it works fine but from UIFlow no way.
                  Error from M5StickC plus is "LCD object has no attribute frame_buf

                  1 Reply Last reply Reply Quote 0
                  • PhuturistP
                    Phuturist @Mati
                    last edited by

                    @mati said in UIFlow 1.8.6:

                    Nope, just out of the box and go. First try with Atom lite fail but on core2 and init in the setup all looks legit.

                    Could you post your working UIFlow?

                    I have the same issue, gives me the error "'Lcd' object has no attribute 'frame_buf'".

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

                      Hello @Phuturist

                      using UIFlow 1.9.0 works for me (well kind of). With M5Core2 I can use the whole LCD unit screen (eg. 135 x 240). However with M5Atom (or M5StickCPlus) I can only use part of it, else there is an out of memory error. Here is what works for me with M5Atom.

                      0_1642182495468_M5AtomLCDUnitUIFlow_220114.png
                      Thanks
                      Felix

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

                      PhuturistP 1 Reply Last reply Reply Quote 0
                      • PhuturistP
                        Phuturist @felmue
                        last edited by

                        @felmue said in UIFlow 1.8.6:

                        Hello @Phuturist

                        using UIFlow 1.9.0 works for me (well kind of). With M5Core2 I can use the whole LCD unit screen (eg. 135 x 240). However with M5Atom (or M5StickCPlus) I can only use part of it, else there is an out of memory error. Here is what works for me with M5Atom.

                        0_1642182495468_M5AtomLCDUnitUIFlow_220114.png
                        Thanks
                        Felix

                        Thanx Felix, it's indeed now working for a small partion of the screen when connected to my M5StickC Plus. Trying to set it to it's actual size indeed results in a memory allocation error. I had seen that one before as well but didnt think it was related to the screen size. If anyone knows how to fix the memory allocation error, please let me know.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post