Jump to content

lm35 temperature sensor serial print not woking

Recommended Posts

Please check under "Tools->Serial Port" whether the COM-Port is "checked" ... sometimes I have the same problem, that uploading works without problems, but serial output don't ... so just give it a try.

Sometimes it also helps to re-connect the Launchpad (the USB cable).

Link to post
Share on other sites

Hi @@avi1991nash and welcome


The G2553 and Energia can be a bit fiddly.  In addition to what yosh suggests, try resetting the microcontroller if it doesn't print to Serial after a successful flash.  Your use of Serial.write(0xd); probably isn't doing what you want it to.  The easy way to get a line feed is to use Serial.println();  but you could also use Serial.write(0xA) or Serial.print('\n");

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...