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

    Newbie at ALL. Be patient.

    Micropython
    3
    8
    9.9k
    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.
    • P
      peixoto1970
      last edited by

      Hi all.
      I just bought Core2 and StickC devices. I am using uiFlow/Block and its nice, I want to get better on programming.
      Thanks for your help.

      Is Python the same on all devices? M2Core, StickC ....
      What the best site to start learning Python used in M5stack devices?
      Is there a way to use uiFlow/Blocky on regular ESP32 devices, like TTGo Display one.
      Thanks, I am glad to be here.

      M5stack Core2, StickC and some units.

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

        There are sever generic books on micropython and esp32 however my work in progress book is found here: https://github.com/Ajb2k3/UIFlowHandbook/blob/master/UIFlowhandbook.pdf

        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 1
        • A
          aafortinet
          last edited by

          @ajb2k3 I downloaded your PDF. I can't access the micropython REPL. Is it meant to be available on M5 CoreInk?

          • I tried baud date 115200 and 921600.
          • my device is on /dev/ttyUSB0 (that's what I use for Arduino to program it).
          • I tried picocom and screen. They both appear blocked, never showing the REPL, even after trying Ctrl-A.

          Thanks.

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

            Try thonny but its normally USBtoUART and its CTRL+C

            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!

            A 1 Reply Last reply Reply Quote 0
            • A
              aafortinet @ajb2k3
              last edited by

              @ajb2k3 no, /dev/USBtoUART does not exist on my host. It is /dev/ttyUSB0. Tried thonny, not better than picocom or screen. I think the software is not the issue. Am I meant to have a specific firmware on the device for micropython to work?

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

                have you installed the correct usb driver?

                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!

                A 1 Reply Last reply Reply Quote 0
                • A
                  aafortinet @ajb2k3
                  last edited by

                  @ajb2k3 yes. I program it with Arduino, no problem.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    aafortinet @aafortinet
                    last edited by

                    Found my error. I had flashed the M5 with a program of my own using Arduino. Using the UI Flow firmware, I get the Micropython REPL no problem with screen /dev/ttyUSB0 115200.

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