ESP32 ISOBUS – No Output on Serial Monitor Outside of while(true) Loop #605
Unanswered
Berkay-tech
asked this question in
Q&A
Replies: 1 comment
-
I resolved the issue , it was waiting for a virtual terminal to connect. Upon examining the library, I noticed this behavior. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I'm relatively new to both Git and the ISOBUS domain. I'm currently working with an ESP32 device, and my main objective is to display some data on the ISOBUS terminal.
I'm currently working with an example project located in the esp32_platformio_object_pool codes folder. I've set up PlatformIO within
VS Code and successfully built and flashed the code to the ESP32. There were no errors during the build or upload process.
However, when I run the device monitor to check the output, nothing is displayed — not even simple printf() statements I added for testing purposes. Interestingly, when I move the printf() call inside a while (true) loop, the output starts appearing correctly on the serial monitor.
I'm trying to understand why the output only shows up when placed inside an infinite loop and not when executed once during the initial setup.
I make add this two prinf function which is shown below,
I intended to call the function printf("Object pool loaded, size: %d bytes\n", (object_pool_end - object_pool_start)); once, before entering a while loop to run a test. However, I am getting unexpected output in the terminal. This first printf fucntion is not shown on the termianl. My terminal output is;

I do not understand what is the wrong about it.
Beta Was this translation helpful? Give feedback.
All reactions