ransher 0 Posted February 13, 2017 Author Share Posted February 13, 2017 i didn't get it what meant by that?? You probably need to strip control characters. Do a strlen() or whatever the equivalent on a String is. Quote Link to post Share on other sites
KeithB 0 Posted February 13, 2017 Share Posted February 13, 2017 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. Quote Link to post Share on other sites
SayanTapadar 0 Posted February 6, 2018 Share Posted February 6, 2018 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? Quote Link to post Share on other sites
dubnet 238 Posted February 6, 2018 Share Posted February 6, 2018 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). Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.