Jump to content

HELP for SoftwareSerial in MSP430F5529 launchpad

Recommended Posts

hey please help me i am unable to get data.getting nothing from Rx.i am using MSP430F5529 at 16MHz.I can send data but unable to reci.

please help me......

Here is the code:


/* The circuit:
 * RX is digital pin P3.4 (connect to TX of other device)
 * TX is digital pin P3.3 (connect to RX of other device)
#include <SoftwareSerial.h>
SoftwareSerial mySerial(P3_4, P3_3); // RX, TX

int incomingByte = 0;
void setup()  
  // set the data rate for the SoftwareSerial port

void loop() // run over and over
  if (mySerial.available()>0 ) {
    // read the incoming byte:
    incomingByte = mySerial.read();

    // say what you got:
    mySerial.write("I received: ");
    mySerial.println(incomingByte, DEC);



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