Jump to content

Serial.println won't work in setup

Recommended Posts

I am moving from Arduino to the Energia 10 stellarpad/tiva and what worked there doesn't work here.

The Serial.println("inByte"); won't print in the serial window. Later on, in the loop portion, it will print.


void setup()
  // start serial port at 9600 bps:
  Serial.println("inByte");  // doesn't print

Link to post
Share on other sites
  • 4 weeks later...

Probably you are opening the serial monitor console after the mcu send the message. Just open the window and then push the RESET button to repeat all the code.


If I recall correctly Arduino boards reset the status when you open the serial monitor, but energia doesn't.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...