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

    [M5Paper] UiFlow support

    Features Wish List
    12
    33
    79.0k
    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.
    • felmueF
      felmue
      last edited by

      Hello guys

      today in M5Burner I discovered an Alpha version of UIFlow for M5Paper. Already seems to work reasonably well.

      Cheers
      Felix

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

      1 Reply Last reply Reply Quote 0
      • D
        doubleness
        last edited by

        @felmue Hey, are you able to run the code on your device? Not sure what I am doing wrong, I burned UiFlow alpha version, and connected to my device, also it seems like code is being uploaded to m5paper device, and screen refreshes probably restarting, but nothing shows up in the screen.

        Everytime I try to upload the code I get warning ' Lack block "Set screen set show" or "Set screen parital show" '

        Not sure what I am doing wrong, any idea?

        world101W ajb2k3A 2 Replies Last reply Reply Quote 0
        • world101W
          world101 @doubleness
          last edited by

          @doubleness said in [M5Paper] UiFlow support:

          Everytime I try to upload the code I get warning ' Lack block "Set screen set show" or "Set screen parital show" '

          Not sure what I am doing wrong, any idea?

          You need to have one of those blocks in your program to update the screen. They are under UI, then Screen in uiFlow.

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

            @doubleness !0_1613035410200_exp1113.png
            You need to have the "Set Screen Show" block as the information is only stored in memory and not drawn to the screen until set screen show or set screen partial show is called.

            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 2
            • D
              doubleness
              last edited by

              @world101 @ajb2k3

              Thank you guys it works! You saved me :) ... finally I can switch to micropython, programming using arduino IDE was kind of slow and painful

              ajb2k3A 1 Reply Last reply Reply Quote 1
              • J
                Jank
                last edited by

                Any information on when the support for M5paper is coming to the official VS code extension for micropython? I can set my device to usb mode but it doesn't find it.

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

                  @doubleness said in [M5Paper] UiFlow support:

                  @world101 @ajb2k3

                  Thank you guys it works! You saved me :) ... finally I can switch to micropython, programming using arduino IDE was kind of slow and painful

                  Like having teeth pulled!
                  No worries, glad to help.

                  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
                  • TitiMobyT
                    TitiMoby
                    last edited by

                    That's very nice to be able to use UIFlow with M5Paper, thanks. 🥰

                    This also open the door to micropython.
                    I tried it and it works in UIflow.

                    Now, I'm trying to figure out how to add libraries.
                    With M5 core, I use either thonny or rshell.
                    But I could not connect to M5Paper with those.

                    The only tool that worked was Mu editor, but only to see the REPL. Could not access files.

                    Is there a trick to upload files on M5Paper?

                    ajb2k3A 1 Reply Last reply Reply Quote 0
                    • TitiMobyT
                      TitiMoby
                      last edited by

                      Does anyone have ideas to put MicroPython libraries on the M5Paper?

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

                        @titimoby said in [M5Paper] UiFlow support:

                        That's very nice to be able to use UIFlow with M5Paper, thanks. 🥰

                        This also open the door to micropython.
                        I tried it and it works in UIflow.

                        Now, I'm trying to figure out how to add libraries.
                        With M5 core, I use either thonny or rshell.
                        But I could not connect to M5Paper with those.

                        The only tool that worked was Mu editor, but only to see the REPL. Could not access files.

                        Is there a trick to upload files on M5Paper?

                        Yes, there is a trick but alas i forget the trick and struggle to upload.
                        I'm using thonny and its hit and miss accessing the paper.

                        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
                        • TitiMobyT
                          TitiMoby
                          last edited by

                          So no stable solution for now, that’s sad.
                          It’s a bit frustrating to have some micropython working but not the full experience.
                          At some point, that could be better to switch to hardware that runs CircuitPython, less struggle.

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

                            OK, I got it.
                            To use Thonny or other micropython IDE's with the M5Paper, you need to put the paper into "App Mode" in the menu as UIFlow and USB mode do not allow access to REPL.

                            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
                            • TitiMobyT
                              TitiMoby
                              last edited by

                              As this is not my first M5 board, I think I was in App mode. But as the main source of errors is often between the chair and the keyboard, I'll focus my attention on this point 😉

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

                                @titimoby said in [M5Paper] UiFlow support:

                                As this is not my first M5 board, I think I was in App mode. But as the main source of errors is often between the chair and the keyboard, I'll focus my attention on this point 😉

                                I'm writing a book on the coreink and m5paper and spent a week trying to work it out!
                                now if i could only get the internal sht30 to work

                                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!

                                Z 1 Reply Last reply Reply Quote 0
                                • Z
                                  zappawaddawadda @ajb2k3
                                  last edited by

                                  @ajb2k3 would love info on your M5 books

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

                                    @zappawaddawadda Look me up on Github as I post stuff there, I haven't updated the E-Ink docks in ages due to Core2 AWS and massive software dev issues on OSX.
                                    UIFlow 2.0 is coming next year so expect an update.

                                    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!

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      romor001 @ajb2k3
                                      last edited by

                                      UIFlow 2.0 is available now and m5paper is supported, but I fail to find the built in SHT30 sensor. This sensor was supported in blockly in UIFlow 1.

                                      Any suggestions on how to solve getting temperature and humidity measurements from the SHT30 sensor in UIFlow 2.0?

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

                                        Hello @romor001

                                        please check out my example in the UIFlow2 Project Zone: M5Paper_Read_Intern_Temp_Humid_UIFlow2.0.9

                                        Thanks
                                        Felix

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

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