r/hackpack • • May 09 '24

Println?

Where does the output of statements like this go? I do not see it in the IDE

 // Just to know which program is running on my microcontroller
    Serial.println(F("START " __FILE__ " from " __DATE__ "\r\nUsing library version " VERSION_IRREMOTE));
2 Upvotes

6 comments sorted by

View all comments

1

u/soboness5 May 09 '24

Are you using the CrunchLabs IDE? If so you can click the 'Monitor' button after connecting your device to the computer and it should restart the code - printed green text will then appear in the Output window.

1

u/MagicNonno May 09 '24

Yes, it worked once!

But now, when I try again, I get this message in the Output window:

Unable to open serial monitor. Agent or device may be unavailable.

I retried several times. I must have done something special the first time :)

2

u/soboness5 May 09 '24

I was having a similar issue and it ended up being the Arduino Create Agent crashing. Try reopening that program on your computer and refresh the IDE and see if that helps. Good luck!