Jump to content
ransher

msp432p401r launchpad library for using with energia

Recommended Posts

It means that you might actually get a "hello\n" in the String which won't match "hello". If you do strlen() - or the String equivalent - you can see that the string you are comparing is 6 or 7 characters, not the 5 in "hello".

 

I use straight C string functions, so I can't tell you how to strip control characters in a String.

Share this post


Link to post
Share on other sites

Hope its not too late to join in. Using Serial1 works. But I have a bluetooth module a GPS module and a GSM module to interface with MSP432 launchpad. So I need a total of 3 (Rx,Tx) pairs to work with. In Arduino using SoftwareSerial would help, but here what should I do? 

Share this post


Link to post
Share on other sites

Welcome to the forum.

It is best to start a new topic rather than post to a topic that is a year old.

To the best of my knowledge, Energia only supports two of the four serial ports available on the msp432. In order to use the other two ports you would need to use CCS (TI's development environment for their MCUs).

 

Share this post


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.

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