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

    How to do debugging (no screen) ?

    Scheduled Pinned Locked Moved General
    6 Posts 5 Posters 9.5k 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.
    • M Offline
      Medy
      last edited by

      So far ive printed errors to the screen...
      But using the atom lite models lately ... I struggle with debugging.

      When I run custom code via UIFLOW ... how can I get acces to error messages ? prints etc ....

      1 Reply Last reply Reply Quote 0
      • B Offline
        BricoMS
        last edited by

        I would make the led blink different or another color. I do not know if atom lite led is rgb.
        Also maybe the REPL can help.

        1 Reply Last reply Reply Quote 0
        • B Offline
          BricoMS
          last edited by

          Also you can establish a UART connection with a serial terminal using the UART BLOCKS. There is a UART write block. This is the way I used to debug in arduino.

          1 Reply Last reply Reply Quote 0
          • B Offline
            b0rscht
            last edited by

            In 'Text' there is a 'print' block. Open M5Burner -> hamburger menu -> Serial Monitor. print statements will show on Serial port.

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

              Both UIFlow and UIFlow2 have a terminal on the bottom of the screen for running code. When you hit the run button in the terminal it will show the code you attempted to run on the device along with error messages.
              You can also use Thonny for coding and debugging in the same way.

              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
              • C Offline
                camilasophia
                last edited by

                In UIFlow, you can access error messages and prints by checking the console output. Open the Console tab in the bottom panel of UIFlow, and it will display any error messages or prints generated during the execution of your custom code.

                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