🤖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) ?

    General
    5
    6
    7.1k
    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
      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
        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
          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
            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
              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
                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
                • First post
                  Last post